It will be nice to have the ability to Deny a permission. Currently when you add a new custom permission you are allowing an action. But some times you have to deny an action. It will be cool if you ad an "!" in front of the URL to switch it from allow to deny.
Example: !admin/structure/views/import will deny the user from importing Vews
Comments
Comment #1
Docc commentederm.. if you create a custom permission it becomes a drupal permission.
Meaning its disabled by default for a role. But you can enable it for a role on the permission page.
Or am i missing something?
Comment #2
ANDiTKO commentedLet me give you an example. There is a core "Views -> Administer Views" permission. This will allow the current Role to do everything in views. But what if i want them to do "almost" everything. Like disallow them to enter the views settings (admin/structure/views/settings) or views import (admin/structure/views/import).
Comment #3
RuiMendes commentedI'm also looking for this functionality.
Was there any development?
Thanks.
Comment #4
rooby commentedThen you add a permission for that url, like admin/structure/views/settings and then you don't give the roles that permission.
This is already possible.
Feel free to re-open if you think this is still a valid feature request.