[Edit - see ’edit’ area below (hopefully provided my own fix
]
I am having the same issue.
I want individuals to be able to login and edit a specific group of documents allocated to them.
User Group
’Content Editor A’
Document groups:
All ’public’ pages into a document group called ’Main Site Pages’
All ’Site A’ pages into a document group called ’Site A’
User / Document Group Links
’Content Editor A’ has access to ’Site A’
Manager Users
testedit has access permission set to ’Content Editor A’ and is of type ’Content Editor’
Roles
’Content Editor’ has only the default (greyed out) checkboxes plus ’Edit a Document’ and ’Save Documents’
Pages
’Modx CMS Install Success’ -> ’Main Site Pages’
’Home Page’ -> ’Main Site Pages’
’Content Editing Test’ -> ’Site A’
Checked to make sure access permission are enabled in the Tools->Configuration, Users tab.
I went and cleared the cache as suggested.
Logged in as testedit
I could still see all the pages in the treeview
and I could edit all the pages.
If I went back to Roles and unchecked ’Edit a document’
then I could still see the pages but when you attempt to edit then
the security stop you.
Feel free to tell me I am doing this completely the wrong way
Cheers
Dave
[Edit - Fixed it for my solution...I hope]
Ok, I went back in and created a Site B, (new settings in
blue italics)
now settings are as below:
User Group
’Content Editor A’
’Content Editor B’
Document groups:
All ’public’ pages into a document group called ’Main Site Pages’
All ’Site A’ pages into a document group called ’Site A’
All ’Site B’ pages into a document group called ’Site B’
User / Document Group Links
’Content Editor A’ has access to ’Site A’
’Content Editor B’ has access to ’Site B’
Manager Users
testedit has access permission set to ’Content Editor A’ and is of type ’Content Editor’
testedit2 has access permission set to ’Content Editor B’ and is of type ’Content Editor’
Roles
’Content Editor’ has only the default (greyed out) checkboxes plus ’Edit a Document’ and ’Save Documents’
Pages
’Modx CMS Install Success’ -> ’Main Site Pages’
’Home Page’ -> ’Main Site Pages’
’Content Editing Test’ -> ’Site A’
’Content Editing Test 2’ -> ’Site B’
Ok. So I then logged in as testedit2 to look at ’Site B’ stuff. Well ’lo and behold, the ’Site A’ stuff didn’t show up.
So the security works - then there must be something that allows
pages that are allocated
to a ’Document group’ but with no allocated ’Document/User Links’ to then be shown as (standard) ’Public’ pages.
I created another User Group ’Main Site Editors’ and allocated the ’Main Site Pages’ to it in the ’Document/User Links’
Logged back in as testedit. Only the ’Site A’ page came up
Logged in as testedit2. Only the ’Site B’ page came up.
Wonderful.
Now - a simple question - is this a bug, a misunderstanding, or just something in need of a little clarification?
Cheers
Dave