angular-acl icon indicating copy to clipboard operation
angular-acl copied to clipboard

Feature request

Open ghost opened this issue 8 years ago • 1 comments

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!

ghost avatar Oct 13 '17 13:10 ghost

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

naitik0212 avatar Jan 05 '18 01:01 naitik0212