/
Identity and Access Management Exercise

Identity and Access Management Exercise

Exercise: Setting up Security

Identity and Access Management Configuration

  1. 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”.

Β 

Β 

  1. 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”.

Β 

Β 

  1. 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.

Β 

Β 

  1. 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.

Β 

Β 

  1. 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.

Β 

Β 

  1. 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

  1. Click Tools >Launch Simulator to launch the Canvas Simulator.

Β 

Β 

  1. 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.

Β 

Β 

  1. 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.

Β 

Β 

  1. Log out of User 1 by clicking the purple circle. Then log into β€œUser2” with the password β€œ123”.

Β 

Β 

  1. 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.

Β 

Related content