<![CDATA[ Need Help with User roles and permissions - My Forums]]> https://forums.modx.com/thread/?thread=104794 <![CDATA[Need Help with User roles and permissions]]> https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563549 I have a project in which my client need User Roles for Users and Different permissions for editing and managing different part of site. Like they have 4 BlogIt blogs in site and user1 can only edit blog-1 and user2 can only edit blog-2 and user3 can edit blog-1 and blog-2 and user4 can edit all blogs, more like an admin but not admin.

How can I achieve this ? Suggest me Extra. smiley]]>
Mayanktaker Jan 13, 2019, 11:05 PM https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563549
<![CDATA[Re: Need Help with User roles and permissions]]> https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563669

Be sure to flush permissions and log out all users after making any changes and before testing.
]]>
BobRay Jan 20, 2019, 03:34 AM https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563669
<![CDATA[Re: Need Help with User roles and permissions]]> https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563665
Thank you!]]>
Mayanktaker Jan 19, 2019, 10:02 PM https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563665
<![CDATA[Re: Need Help with User roles and permissions]]> https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563555
Create four user groups and four resource groups called: blog1, blog2, blog3, blog4.

Connect each resource group to its matching user group with a Resource Group Access ACL entry in the 'mgr' context (assuming that BlogIt runs in the Manager), and a policy of 'Resource,' (or a policy based on it that you've created if you want them to have fewer permissions).

Drag each blog's top level container into the appropriate group. I don't think the children need to be in there, but I'm not sure.

Create a role blogEditor with an authority level of 15.

Use that role for the following steps:

Put user1 in the blog1 User Group
Put user2 in the blog2 User Group
Put user3 in the blog1 and blog2 User Groups
Put user4 in all four blog user groups

You might also want to put yourself all four blog user groups.

Whether this works may depend on if and how BlogIt enforces permissions. If it honors MODX permissions or lets MODX do it, it should work.




]]>
BobRay Jan 14, 2019, 06:35 PM https://forums.modx.com/thread/104794/need-help-with-user-roles-and-permissions#dis-post-563555