Adding and subtracting permissions

Archived from the Xataface Users forum.

andperry — Mon Dec 03, 2012 5:23 am

In the permissions.ini file, if I define a new role adding new permissions, and then define a second role extending the first, can permissions added in the first role subsequently be subtracted in the second role? From what I can ascertain in my own applications, it appears to be working in some cases but not others. I thought I would get a definitive answer to the question before investigating the matter further.

Thanks,

Andrew Perry.


shannah — Mon Dec 03, 2012 11:48 am

Yes. You can both add and subtract permissions in sub-roles.