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

Restrict privilege for the API user usecase #857

Open
mahalakshme opened this issue Feb 7, 2025 · 0 comments
Open

Restrict privilege for the API user usecase #857

mahalakshme opened this issue Feb 7, 2025 · 0 comments

Comments

@mahalakshme
Copy link
Contributor

mahalakshme commented Feb 7, 2025

Need:

The API user need to just activate the deactivated users. Providing 'EditUserConfiguration' will let them create admin users as well. Also we are doing password based authentication for API users which is not the most secure one. So good to restrict their access.

AC:

  • Create a privilege named 'Activate user'
  • It should have permission only to activate - not even to deactivate
  • Only users with the above privilege and EditUserConfiguration privilege should be able to call /api/user/enable
@mahalakshme mahalakshme converted this from a draft issue Feb 7, 2025
@mahalakshme mahalakshme moved this from In Analysis to Ready in Avni Product Feb 7, 2025
@mahalakshme mahalakshme moved this from Ready to Hold in Avni Product Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Hold
Development

No branches or pull requests

1 participant