In this quick tutorial, we will cover Understanding the Check Permission Rights Node. In this tutorial, you will learn about the Check Effective Permission Rights Node and how it’s used in Catenis Flow.
In this video we will cover:
Prerequisite
After watching Understanding the Check Permission Rights Node, feel free to watch the next video, Working with the Check Permission Rights Node in Run-Time Mode, to further expand your knowledge.
Subscribe to our channel for more Bitcoin Blockchain building videos! https://www.youtube.com/c/BlockchainofThings
Links from this video for easy access:
To sign up for your free account, head to our website www.blockchainofthings.com.
Join our community forum for the quickest response time to all your questions and concerns. This forum is our customer support. https://forum.blockchainofthings.com/
[Music]
Hi, this is Claire for Blockchain of Things.
In this tutorial, you will learn about the Check Effective Permission Rights Node
and how it’s used in Catenis Flow.
If you haven’t yet watched these two tutorials,
pause the video now, and watch them, then come back to this link.
The Check Effective Permission Right Node works across a pair of devices,
the subject device, and the device attempting to
execute the permissioned event with the subject device.
It runs through the permission hierarchy evaluating at each level,
and returns whether or not the
device has “allow” or “deny” permissions
to interact with your subject device for the requested permissioned event.
This is an easy way to evaluate permissions set on the subject device.
Drag a Check Effective Permission Rights Node into your workspace.
Name the node using the name field and set a Catenis Virtual Device in the connection field.
The event field contains the same 12 options that we discussed in the tutorial titled “Permission Events”.
Now, let’s take a look at the example flow found at this link:
Copy the example flow.
Click the Node-RED hamburger menu and click import to display the import flow dialog box.
Paste the flow into the import box and click the import button.
This flow is a working example implementing the Check Effective Permission Rights Node.
Note, that after importing the example flow you will need to
set the Catenis Flow Nodes to your own previously configured virtual device.
You can pause this tutorial now to explore this flow on your own,
and in the next video, you’ll learn how to create this flow from scratch.
Awesome!
Now you should understand the Check Effective Permission Rights Node.
In our next tutorial, you’ll learn how to use this node in RunTime Mode.
[Music]