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

Specify roles in policy json statement #256

Open
kc-diabeat opened this issue Jun 11, 2024 · 0 comments
Open

Specify roles in policy json statement #256

kc-diabeat opened this issue Jun 11, 2024 · 0 comments
Labels

Comments

@kc-diabeat
Copy link
Contributor

Description:
The process for granting access for a resource (e.g view) to a user role involves the below steps:

  • Define the policy json statement in policies.json file in the module
  • Sync the policy in the App Panel and then map to one or more user roles

Suggested Enhancement
The process for granting access can be further streamlined by specifying the roles in policy statement itself. Once such a policy is synced, the mapping with the specified roles will be done automatically. The policy statement can be a single source of truth. In case a user creates new mapping from the app panel, the policy statement should be auto-updated.

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

No branches or pull requests

1 participant