Quote from: BobRay at Jan 20, 2010, 09:48 PM
Am I correct in assuming that the "web" context access ACL would only apply to actions that alter resources, not to other actions (e.g. changing security settings using some front-end tool)?
No, policy permissions applied through the Context ACL are global permissions that apply to any action taken by the user in that Context. Changing security settings is controlled by the permission
access_permissions and applies to the user and the action taken from any Context.
Quote from: BobRay at Jan 20, 2010, 09:48 PM
Along the same lines, I’m also wondering about actions taken by snippet and plugin code triggered by a page visit in the front end. I’m assuming that ACLs govern whether the code can perform actions from the front end like clearing the cache, creating a new user, etc., but would that be affected by a web context access ACL or a mgr context access ACL, or both in different situations?
Both in different situations. It’s determined by the context ACL attached to the context they are taking the action from; so if it was a tool in the web context that called the clear cache processor, it would check the
empty_cache permission to determine if that action was allowed for the user.
Quote from: goldsky at Jan 20, 2010, 10:59 PM
Does Revo also allows grain permissions for individual Component?
I assume that component is similar with module in evo, which at the current release doesn’t have any individual permission attached to each module.
Yes, you can design policies with custom permissions that relate to custom Component actions. These can then be attached to contexts just like any other Context policy.
Quote from: goldsky at Jan 20, 2010, 10:59 PM
I guess your discussion here can be explained that both of front-end and back-end have a very flexible permission. This particular back-end permission improvement should be applied since MODx Revo’s back-end will have more customization, too. no?
Am I wrong to state that ACL and RGL (Resource Groups List) is about many to many relationship?
The Context ACL links User Group members with Contexts and the permissions they have in each Context; this replaces User Roles and the permissions Users were granted via their Roles in Evo. The Resource Group ACL links User Group members with Resource Groups in a particular Context; this is pretty much the same as Evo’s Resource Groups tied to Web Permissions and/or Manager Permissions, except we can and have defined more granular permissions (via Policies) for these Resource Group access controls, such as defining if a User Group is allowed to
add_children to a Resource that is in the Resource Group.