Overriding Roles / Permissions

In the wiki page documenting the permissions.ini file, there is a section on overriding existing roles. I have tried using this feature many times, but have not yet been able to get it to work properly. I am wondering if there are some limitations with what I am trying to do, since I am more interested in using this to restrict/revoke existing permissions rather than adding new ones.
For example, let's say I want to remove the "find" permissions from the READ ONLY role. I put the following in the main permissions.ini file for my application (not in the xataface directory):
However, the find action still shows up and works, indicating that this configuration is being ignored. Is it supposed to work this way, or am I misunderstanding the intent?
Thanks,
Alan
For example, let's say I want to remove the "find" permissions from the READ ONLY role. I put the following in the main permissions.ini file for my application (not in the xataface directory):
- Code: Select all
[READ ONLY extends READ ONLY]
find = 0
find_list = 0
find_multi_table = 0
However, the find action still shows up and works, indicating that this configuration is being ignored. Is it supposed to work this way, or am I misunderstanding the intent?
Thanks,
Alan