Skip to content
New issue

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

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

Already on GitHub? # to your account

roles and permissions #14

Open
matiu2 opened this issue Sep 10, 2011 · 0 comments
Open

roles and permissions #14

matiu2 opened this issue Sep 10, 2011 · 0 comments

Comments

@matiu2
Copy link
Owner

matiu2 commented Sep 10, 2011

Each user can have certain roles .. eg. admin, uploader, reviewer

Each role can have certain permissions .. eg. edit_content, upload_files, read_level1_content

Each content type can check those permissions, for example:

  • to hit /article/new you need edit_content permission
  • to hit /article/1 you need member permissions
  • to hit /article/1/delete you need admin permissions

  • There should be a simple registration system where you can hook it all up and store the hookups in your DB.
  • There should be a bunch of reasonable defaults.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant