Thank all of you (mainly Bob's
guide and
MODX ACL Security Tutorial) i succeeded to set it up
almost the way i wanted
sharing my setup so it maybe helps somebody or you can let me know if there's anything that can be done better or more simple (thank you in advance)
Summary & Goal:
i'm building multi-language site (EN,DE,FR) using Babel extra with blog (english only) using Articles extra:
- on front-end side everything should be accessible to anybody = site content + blog articles
- on back-end side i'd like to have 4 user groups = 2 coming with Revo installation = anonymous, Administrator + 2 new groups = editors & bloggers
* editors - have access to site content + blog articles
* bloggers - have access to blog articles only
My setup steps:
i have 3 contexts
"web" - containing documents for english content of the site and also blog (container alias = test-blog) is here
"DE" - containing documents for german content of the site
"FR" - containing documents for french content of the site
Created 2 new Roles
Content_and_Blog_Editor authority = 7000
Blogger authority = 8000
Created 2 new Access Policies via duplicating the existing policies (no customizing so far)
Resource (Bloggers) ResourceTemplate 12 of 14
TEST Content Editor AdministratorTemplate 24 of 172
Created 2 new User Groups
bloggers
content_and_blog_editors
Created 2 new Users
blogger1 - added to "bloggers" User Group with "Blogger" Role
editor1 - added to "content_and_blog_editors" User Group with "Content_and_Blog_Editor" Role
Added "admin" user into "bloggers" and "content_and_blog_editors" User Groups with "Super User" Role
Created 2 Resource Groups
blog_only - assigned blog only to this one
site_content_and_blog - assigned site content in all the contexts (web, DE, FR) + blog to this one
For following User Groups i adjusted / created Content Access (CA) and Resource Group Access (RGA) like this:
Administrator User Group
Users
admin Super User - 0
CA
mgr Super User - 0 Administrator
web Super User - 0 Administrator
DE Super User - 0 Administrator
FR Super User - 0 Administrator
mgr Member - 9999 QuipModeratorPolicy
RGA
blog_only Member - 9999 Resource mgr
site_content_and_blog Member - 9999 Resource mgr
bloggers User Group
Users
admin Super User - 0
blogger1 Blogger - 8000
CA
mgr Blogger - 8000 TEST Content Editor
web Member - 9999 Context
RGA
blog_only Super User - 0 Resource mgr
blog_only Blogger - 8000 Resource (Bloggers) mgr
blog_only Blogger - 8000 Resource (Bloggers) web (added to be able to see the blog in front-end)
content_and_blog_editors User Group
Users
admin Super User - 0
editor1 Content_and_Blog_Editor - 7000
CA
mgr Content_and_Blog_Editor - 7000 TEST Content Editor
DE Member - 9999 Context
web Member - 9999 Context
FR Member - 9999 Context
RGA
site_content_and_blog Super User - 0 Resource mgr
site_content_and_blog Content_and_Blog_Editor - 7000 Resource (Bloggers) mgr
site_content_and_blog Content_and_Blog_Editor - 7000 Resource (Bloggers) web
site_content_and_blog Content_and_Blog_Editor - 7000 Resource (Bloggers) DE
site_content_and_blog Content_and_Blog_Editor - 7000 Resource (Bloggers) FR
Problems
- when editor1 or blogger1 are logged in into Manager and they click on context (e.g. "web" for blogger1 or "DE" for editor1) in Resources side bar it results in blank page with message:
Error!
Access denied.
- when blogger1 is logged in into Manager he cannot see the site content in the front-end. he can see the blog only.
I'd like to not get the error message described above when contexts are clicked.
Also if it is possible i'd like to have blogger's access limited in Manager only, not in front-end. In current setup he needs to use either 2 web browsers or to log out when he wants to see the site content.
I hope this could help somebody
If you spot any errors above or know how to do this better or more simple way or how to resolve the problems mentioned above please let me know
Thank you in advance
kr
[ed. note: krajicek last edited this post 13 years, 1 month ago.]