Identity and Access Management Exercise
Exercise: Setting up Security
Identity and Access Management Configuration
First, weβll create a permission. To start, Click on Tools > Identity and Access Management. Click on Permissions and click the + to begin creating a new permission. Name the permission as βAllow interactionβ.
Β
Β
Next, weβll create a user. Select the Users tab. Once selected, click on the + to begin the creation of a new user. Start with the Username being βUserβ. Click Edit User Password and enter β123β into both fields. Click OK to confirm the password is set. Once the password is set, click the Log off action field > Create new Command. Click Add New Command, and select Send Screen Notification. Have the Message be βSuccessfully logged out!β. Click OK to exit out. By following the same steps, create another user name, βUser2β. Have the User Password also be β123β.
Β
Β
Now, onto creating a Group. To begin, click on the Groups tab to start creating a group. Name the group βGroup 1β. Under Users, click Edit and add βUserβ to the group. Do not add User2. Click OK to confirm the changes. Under Permissions, add the βAllow Interactionβ permission by clicking on Edit underneath Permissions. Click OK to confirm the changes. Once out of the permissions edit page, click OK to save all changes and create the group. Finally, click OK to exit the Identity and Access Management Window.
Β
Β
Now, create a Rectangle. Select it, go into Appearance, and change the Fill to Sea Green or #008080. Then select Actions under On Press to create a New Command. Select the Command βOpen Login Window.β Make sure the Show User List is unchecked. Click OK to confirm it.
Β
Β
Now, create a Circle above the Rectangle. Change the fill to Purple or #800080. Then select Actions under On Press to create a New Command. Select the Command βLogout Userβ.Click OK to confirm it.
Β
Β
Now, create a Circle to the right of the Rectangle and the circle. Change the fill to Red or #ff0000. Then select Actions under Permissions and click the pen to add permissions. Click the Checkbox next to allow interaction. Click OK to confirm it. Under On Press to create a New Command. Select the Command βSend Screen Notification.β Have the Message be βUser has sufficient Permission!β Click OK to confirm it. Click
Β
Β
Β
Β
Identity and Access Management Runtime
Click Tools >Launch Simulator to launch the Canvas Simulator.
Β
Β
Click on the Red Circle; there should be a notification that the user does not have permission. This is how objects with permission will interact with users who are not logged in.
Β
Β
Click on the Rectangle to open the Login Window; once it is open, type in βUserβ into Username and β123β into Password. Click OK once all of that has been entered. Once Logged in, Click the Red Circle, and the Screen Notification set up earlier should now display.
Β
Β
Log out of User 1 by clicking the purple circle. Then log into βUser2β with the password β123β.
Β
Β
Now try clicking the Red Circle. Notice how the insufficient Permission notification came up again; this is due to User2 not having permission tied to the account and not being connected to Group 1, which also has permission tied to it.
Β
Β
Back to the top of the Identity and Access Management Exercise.
Β