Controlling which users have access to an application and restricting actions. To recap the steps in the video:
Restrict access to app
- Open the configuration form for the app
Contact Manager
- Open the section Access Permissions
- Untick All Users Can View Application
- Save your changes
- To test this:
- Create a user (remember you need to go into the Full Repository browser to do this)
- Don't forget to tick the Enabled flag for the user
- Add the User Group App User to the user
- Logout, and log back in as this user
- You should not be able to see the
Contact Manager
app
Add access to app
- Log back in as your modelling user
- Open the repository browser under the application
Contact Manager
- Add a User Group
- Call the user group
Contact User
and apply your changes - Open the section Applications, and bring up the list of applications
- Drag in the application
Contact Manager
- Still in the user group configuration form, add the test user
- Call the user group
- Log back in as your test user, and check that now you can access the
Contact Manager
app.
Create admin level access
- Log back in as your modelling user
- Go into the configuration for the button
Import
- In it's configuration form, open the section Access Permissions
- Untick All Users Can Run Action
- Open the repository browser under the app
Contact Manager
- Add a User Group
- Call the user group
Contact Manager Admin
- Open the section Stream Actions
- Bring up the list of actions
- In the repository browser for actions, you will find all the actions you need under the stream
ContactManager
- In the repository browser for actions, you will find all the actions you need under the stream
- Drag the actions for all administration functions into the user group i.e. Import
- Bring up the list of actions
- Call the user group
- Create a test admin user
- Add this user to the user groups:
App User
Contact User
Contact Manager Admin
- Add this user to the user groups:
Now try logging in with both the test contact user, and the test contact admin. Ensure that the contact user cannot see the administration functions, but the admin user can.