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

Add user roles #211

Open
V1TA5 opened this issue Aug 4, 2019 · 3 comments
Open

Add user roles #211

V1TA5 opened this issue Aug 4, 2019 · 3 comments
Labels
Area: Backend Related to the Python code that runs inside gunicorn Area: Frontend Related to HTML, JS, CSS, or other browser things Area: Migration Related to Alembic database migrations Priority: Normal Type: Feature

Comments

@V1TA5
Copy link
Contributor

V1TA5 commented Aug 4, 2019

Add user roles. Especialy to admin functions. (so we can have dedicated game admins or version admins).
A potential Admin panel should only show the appropiate functions and have the possibillity to add/change roles to users/groups.

@Xinayder
Copy link

Xinayder commented Aug 4, 2019

When we separated the frontend from the backend, we added a permission system and it was easy to grant separate permissions to specified users.

Depending on what we choose for SpaceDock, we can achieve that with Django, but that would mean an entire rewrite of the backend using Django.

@V1TA5
Copy link
Contributor Author

V1TA5 commented Aug 4, 2019 via email

@allista
Copy link
Contributor

allista commented Aug 4, 2019

With flask we could use flask-user or flask-security. The former seems to be better documented and maintained, but I used both without issues. They both use flask-login under the hood, so it should be straightforward to port to them.

@allista allista self-assigned this Aug 7, 2019
@HebaruSan HebaruSan added Area: Backend Related to the Python code that runs inside gunicorn Area: Frontend Related to HTML, JS, CSS, or other browser things Area: Migration Related to Alembic database migrations labels Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Backend Related to the Python code that runs inside gunicorn Area: Frontend Related to HTML, JS, CSS, or other browser things Area: Migration Related to Alembic database migrations Priority: Normal Type: Feature
Projects
None yet
Development

No branches or pull requests

4 participants