angular-acl
angular-acl copied to clipboard
Feature request
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!
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