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

Improve user roles #3

Open
CPapadim opened this issue Aug 23, 2018 · 1 comment
Open

Improve user roles #3

CPapadim opened this issue Aug 23, 2018 · 1 comment

Comments

@CPapadim
Copy link
Owner

It is unclear how to set users to roles. Accounts are automatically assigned the same permissions if they are logged in. Allow configuration of roles and permissions for each account.

Admin account should be part of the file config (e.g. the way editors are). Other account roles should live in the DB and be configurable by the web GUI or by a command line script.

@CPapadim
Copy link
Owner Author

Roles:

Admin - Lives in Repo config, not DB. Has access to everything
Editor - Can create posts + everything View Only use can do
View-Only - Can view and subscribe to posts / tags

Add Role column to user table. Permissions per role will be hardcoded

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