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

Feature request #30

Open
ghost opened this issue Oct 13, 2017 · 1 comment
Open

Feature request #30

ghost opened this issue Oct 13, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 13, 2017

Could be possible to add nested abilities? so for example:

An user as member can view_content but only from page1, 2 & 3.

This is just an example, I wonder if you have thought in the possibility to add this feature.

var aclData = {
    guest: ['login'],
    member: ['logout', { view_content: ['page1', 'page2', 'page3']}],
    admin: ['logout', 'view_content', {manage_content: ['page8', 'page9', 'page10']}]
  }

Thanks!

@naitik0212
Copy link

I need something similar to a webpage as well... I need to give access based on user roles... So only certain headers are allowed to some of the users and rest are not

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