Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] UI rendering of effective permissions against applied permissions #362

Open
fmigneault opened this issue Oct 19, 2020 · 0 comments
Assignees
Labels
enhancement Improvements in term of performance or behaviour feature New feature to be developed ui Something related to the UI operations or display

Comments

@fmigneault
Copy link
Collaborator

When applied permissions are set on the User Edit page, the checkboxes could display effective permissions of all resources.
Because the number of resources can be quite big, it is not efficient to resolve effective permissions one-by-one for rendering on the page.

Instead, there should be another function (similar to the ServiceInterface.effecive_permissions method), that maintains the resolved state of all resources encountered along the way, from all bottom resources to all top services for the given service-type.

Probably the solution should be used also for #341 which would then offer the same details via new API routes.

Relates to #341
Originates from #353

@fmigneault fmigneault added enhancement Improvements in term of performance or behaviour feature New feature to be developed ui Something related to the UI operations or display labels Oct 19, 2020
@fmigneault fmigneault self-assigned this Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements in term of performance or behaviour feature New feature to be developed ui Something related to the UI operations or display
Projects
None yet
Development

No branches or pull requests

1 participant