It would be great if we can create an ACL using rules.
I was using content access module where the ACL is nicely implemented.
How ever rules integration is limited on the ACL side i.e rules actions are limited to events after the an item is Added to list.
What I am looking for is when a module implements ACL, then ACL should have the rules event to create ACL for that module.
simple action of create ACL should be there with a default value. ex:in content access the user access list with default user admin or user 1.

Comments

salvis’s picture

Status: Active » Closed (won't fix)

No, this cannot work. ACL provides a service to client modules, but it does not know how the client is going to use it. Exposing the client's ACL records to the admin so that the admin can change them without the client's knowledge would lead to disaster.

Only the client module knows the correct interpretation of its ACL records and how they relate to the client's own data. If it makes sense for the client to offer Rules integration, then the client must do so.