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

I don't see how roles are used #59

Open
kulak opened this issue Aug 22, 2019 · 1 comment
Open

I don't see how roles are used #59

kulak opened this issue Aug 22, 2019 · 1 comment

Comments

@kulak
Copy link

kulak commented Aug 22, 2019

I see roles in DB schema, but I don't seem to find how it is used.

Bit more digging shows that there are built-in user and superuser roles. It seems that roles are internal to the application services. Am I correct?

Thank you

@rexfordnyrk
Copy link

rexfordnyrk commented Sep 7, 2019

@kulak Well that has been on my mind too. I think they are meant to be a skeleton for those who may want to implement roles based authorization of some sort for users. I believe the implementation were left open as various people may want to do it differently.
So for now we have only the superuser and user roles. you can build upon it or get rid of it depending on your use case.

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

2 participants