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

Refactor Privilege checks for Patterns #151

Open
mhinkie opened this issue Jun 5, 2022 · 0 comments
Open

Refactor Privilege checks for Patterns #151

mhinkie opened this issue Jun 5, 2022 · 0 comments

Comments

@mhinkie
Copy link
Contributor

mhinkie commented Jun 5, 2022

Is your feature request related to a problem? Please describe.
In ba-meyer-master role and privilege management was introduced for Pattern Candidates and Issues. The checks for global privileges were also introduced for patterns but resource specific privileges are not finished for patterns.

Describe the solution you'd like
Check for resource specific (i.e. pattern-specific) privileges when deciding if editing of a particular pattern is enabled or not in the UI.
Also ensure references privilege names are always taken from src/app/core/user-management/_models/privilege.enum.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant