Permissions Model Best Practices

  • 21 March 2023
  • 0 replies
  • 224 views

Userlevel 2
Badge +1

MAJOR CONCEPTS IN PERMISSIONS

  1. Keycloak is primarily used to manage Users and Roles as well as their assignment. 
  2. ONE Web Application - where you can assign preconfigured permissions to Users and Roles. It is also possible to change the default configuration and create custom permissions on the ONE Web Application.
  3. Users (Persons) - identify people or services who have access to Ataccama ONE. 
  4. Role - the container for permissions that users can perform in ONE on entities in alignment with the company organization chart. “Role” refers to the roles defined in Keycloak, for example, MMM_ admin.
  5. Users need to be mapped to Roles. This will determine their node permissions based on the operations allowed for that role on individual nodes. A user can have more than one role assigned to them. Users and roles are managed primarily in the Keycloak service, then synced with ONE.
  6. Users and Roles access can be regulated by permissions that are configured via different blocks: Capabilities, Operation Sets, and Operations.
  7. Permissions of Users and Roles can be regulated by assigning and removing preconfigured Capabilities. Capability refers to composed permissions that can regulate access to multiple entity instances across a hierarchy.
  8. Capabilities are composed of Operation Sets and Operations.  
  9. There are three pre-defined operation sets that determine what the user can do with the node:  Owner, Viewer, and Editor. On the ONE Web Application, within entities, you can assign or add operation rights to Roles.
  10. When launching Ataccama ONE for the first time, there is a default configuration set, containing default Roles and first Users assigned, with their set Capabilities, Operation sets, and Operations.

You can manage access either on all entity instances on the same level or instance by instance. It is also possible to manage access across the hierarchy of entities, ie. assign a capability that will regulate access to a data source, locations, and catalog items at the same time.

 

USECASE:

 

The “data tab” in the ONE Web Application must be restricted for certain users as per the requirement. The permissions model was updated including a new operation set named Metadata viewer. Users with this role have view permissions for this data source, its metadata, connections, and credentials. Editing or running data processes is not allowed. They have no permissions for workflow transitions and no access to data samples.

 

STEPS TO BE FOLLOWED TO CHANGE THE PERMISSIONS MODEL IN ONE WEB APPLICATION.

  1. Navigate to Global Settings in the left panel of ONE Web Application

     

  1. Click on System Changes to switch to Maintenance mode

     

  1. Switch to MD model mode

     

  2. Application will switch to the Maintenance mode

     

  3. Application will be in Maintenance mode until we switch back to the application mode after changes.

     

  4. Click on the permissions tab on the left panel

     

  5. To take a backup of the current permissions model click on the download option. The current permissions model will be downloaded.

     

  6. To upload the new permissions model click the upload file option and update the new permissions.json file

     

  7. Switch back to the application mode under system changes

     

  8. Application is in the progress of switching back

     

  9. Once the system changes are updated check for the permissions restriction based on the assigned role for the user.

     

  10. In the Keycloak, choose the MMM metadata viewer role and hit add selected in the available roles.

     

  11. After adding the role will be assigned to the user. When the user logs in to the ONE Web app he will not be able to view the data.
  12. When the user logs in to the ONE Web Application and tries to access data the data tab will show an error message.

0 replies

Be the first to reply!

Reply