Skip to content

groups and roles feature #94

Answered by ganigeorgiev
TobiasNickel asked this question in Q&A
Discussion options

You must be logged in to vote

This should be already supported. You can add custom user field "role" and use it in your access rules. For example:

// allowing only authenticated users with role="manager"
@request.user.profile.role = 'manager'

You can even allow one user to edit another user's profile data (eg. as in manager-subordinate relation).

This is already mentioned in the Manage users guide.

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
7 replies
@ganigeorgiev
Comment options

@edgarasben
Comment options

@perfalle
Comment options

@ganigeorgiev
Comment options

@geoHeil
Comment options

Answer selected by ganigeorgiev
Comment options

You must be logged in to vote
3 replies
@ganigeorgiev
Comment options

@osseonews
Comment options

@edgarasben
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@tecnicosya
Comment options

@jonshipman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
10 participants