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

[Backend] Implement fine-grained access control #44

Open
galadhremmin opened this issue Dec 12, 2022 · 1 comment
Open

[Backend] Implement fine-grained access control #44

galadhremmin opened this issue Dec 12, 2022 · 1 comment

Comments

@galadhremmin
Copy link
Owner

Currently, there are only three supported roles: Anonymous, User and Administrators. Administrators have access to everything whereas Users have access to logged-in features related to their user account.

By adding fine grained access control, we can create intermediary roles to empower the creation of community. For example, a select cohort of users can have contribution review permissions. Or perhaps auditors can ensure that the quality of the dictionary is top-notch.

@galadhremmin
Copy link
Owner Author

Some access rights:

  • Contributions
    • Add contributions
    • Edit your own contributions
    • Edit others' contributions
    • Remove your own contributions
    • Remove others' contributions
    • Approve contributions
    • Reject contributions
    • User's contributions are auto-approved
  • Discuss
    • Add posts
    • Add groups
    • Edit your own posts
    • Edit others' posts
    • Remove your own posts
    • Remove others' posts
    • Remove groups
    • Apply sticky
    • Lock groups
  • Inflections
    • Add inflections
    • Edit inflections
    • Remove inflections
  • Types of speech
    • Add types of speech
    • Edit types of speech
    • Remove types of speech
  • Glossary
    • Delete other's phrases
    • View JSON representation
    • View Glossary summary (/admin/gloss)
  • Phrases
    • Delete other's phrases
    • View JSON representation
  • Accounts
    • Go incognito
    • Edit other's profiles
    • View account list (/admin/account)
    • Filter accounts
    • View account
    • Add roles
    • Remove roles
    • View audit trail
  • System errors
    • View system errors
    • View failed jobs
    • Access infrastructure tests

This list is not comprehensive. We'll have to review access permissions accordingly while implementing this feature.

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

No branches or pull requests

1 participant