You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the user repository-level and object-level permissions to infer which actions a user have permissions to execute and hide or disable the ones the user does not.
This will need to bind each button to a Browser controller method, which in its turn is already bound to role(s). It will also may need more information as AIP id in case it needs to check object permissions. The logic could be verified directly on the client if the code to check permissions can be ported and the roda-roles.properties information can be transferred.
The main code that would need to be ported to the client are the UserUtility.checkRoles(...) functions.
Depends on #885 to be complete, but can start before.
The text was updated successfully, but these errors were encountered:
Also needs to take into consideration the node type, as nodes that are not MASTER (e.g. are SLAVE) cannot perform actions that have an impact other than NONE. To do this the RodaCoreFactory.getNodeType() needs to be transmitted into to client on load (e.g. via shared properties) and used in Actionable.canAct() methods.
Use the user repository-level and object-level permissions to infer which actions a user have permissions to execute and hide or disable the ones the user does not.
This will need to bind each button to a Browser controller method, which in its turn is already bound to role(s). It will also may need more information as AIP id in case it needs to check object permissions. The logic could be verified directly on the client if the code to check permissions can be ported and the roda-roles.properties information can be transferred.
The main code that would need to be ported to the client are the
UserUtility.checkRoles(...)
functions.Depends on #885 to be complete, but can start before.
The text was updated successfully, but these errors were encountered: