Quote from: jgulledge at Jul 29, 2010, 02:47 PM
I am trying to learn the permission in v2.0 and some of it is starting to make sense and some of it is frustrating me.
First it appears that to create an Access Policy you should copy/duplicate the Administrator policy and then delete what you do not want the user group to access. This is not initiative to me at all, my suggestion on this would be once you click Add to have a drop down of the Policies to copy, with the Admin as default. This would at least start you in the right direction rather reading a bunch of stuff to find this out.
Here is what I do not understand, why do the other default groups do nothing? For example lets take the Access Policy "Resource". The name suggests to me that you would only have access to Resources, which is what I am trying to do for a group. If you only assign a user group the Context of mrg and Access Policy of Resource and regardless of minimum role, they are denied access to any part of the manager. And the same with all of the default Access Policies, you are denied access to the manager.
They actually make sense, you just got off on the wrong foot. First, there’s nothing inherently wrong with modifying the standard policies. It’s just that they’re there, in part, to be examples of a case with full rights and once you modify them, you no longer have that.
As for the separate policies, policies don’t control access so much as they control what you can do and see. Access is controlled mainly by the existence of an ACL entry. The policy attached to that entry determines what you can do and see with what you’ve been given access to (through the specific permissions in the policy).
The Administrator policy determines what administrator *actions* you can take in the Manager (e.g. create new users, save resources, alter security settings, etc.). The other two policies (resource and element) determine what you can do with specific *objects* (e.g. save them, delete them, edit then, publish them, etc.). ACL entries relating to specific resource groups and category access, should always use a policy based on the resource or element policy. Context access policies (designed to control access to a specific context -- e.g. the mgr context) should be based on the Administrator policy.
At some point, the docs will start catching up with the code and such things will be clearer. (and there’s my yet-to-exist book)

.