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

Already on GitHub? Sign in to your account

Support roles in AuthUser #25

wants to merge 2 commits into


None yet
2 participants

dzhus commented Feb 22, 2012

Somewhy the existing implementation of Auth infrastructure doesn't
support user roles properly, not maintaining roles list in data store
at all. This simple patch fixes that. The patch is tested in a project
I'm working on.

Note that data stores created with previous versions of AuthManager
will cause the error:

Malformed JSON auth data store. Error: key "roles" not present

dzhus commented Feb 22, 2012

Done that. Roles are [] if not present in datastore.


mightybyte commented Feb 22, 2012

Merged into the 0.8 branch. Thanks.

@mightybyte mightybyte closed this Feb 22, 2012

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