Improvement #10401
Updated by Isuri Mendis 24 days ago
*Description*
With current UI scope tree [1] is hard to understand which permission grant access to which parts of the product.
Therefore need to show the scope permissions in a understandable way.
Current suggestions are a table view and adding tool tip for permissions.
downside of adding tooltip is user have to go through every permission to know what that permission is doing.
[1]
!Screenshot%20from%202023-10-24%2012-29-06.png!
*Solutions*
1.)Users are having hard time creating their own roles from CHANGE ROLE PERMISSION ui in roles page.
For this consider below option in future developments
example :
permissions = {"/device-mgt/roles/view-permissions"}
Permissions like these are shown as a tree structure in CHANGE ROLE PERMISSION ui.
But this tree structure does not match the visually shown UI.
*Regarding future development extra care need to be given to this permissions structure and they must as much as possible, match the visually shown ui to the customer*
2. *If considering backend restructuring for existing permissions, start from UI components and do permissions changes for only the components used in UI components.* That way when backend is restructured, all IoT projects using UI components will benefit. But this exclude smartgrid UI and Switchgear UIs. So further discussions may need to happen before a backend restructure.