<![CDATA[ Setting up a MODx user to only be able to add content to Articles blog - My Forums]]> https://forums.modx.com/thread/?thread=92909 <![CDATA[Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog?page=2#dis-post-507652
I am looking to setup a MODx user in the Manager who only as access to view/edit the contents of an Articles Blog I have setup in the site. Is there any documentation anywhere that outlines how to do this? The MODx user just needs access to the Article Blog where they can add new blog posts, edit existing ones etc but not access any other areas of the website. How can I achieve this?

Any tips gladly received!

Cheers

dubbs.]]>
dubbs Aug 29, 2014, 03:12 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog?page=2#dis-post-507652
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog?page=2#dis-post-507710
As you found, connecting the user's group and the resource's group does nothing at all other than protecting the resources from people outside that user group. This is the expected behavior.

If you re-read my original post, you'll see that non-article docs are only protected when in a resource group that's connected to a user group *the user is not a member of*. That's why Susan and I both mentioned putting all other resources in a resource group and connecting that RG to the Administrator User Group. That actually protects them from users outside the group.

You can automatically add all new resources to that protected group with the DefaultResourceGroup plugin.]]>
BobRay Aug 30, 2014, 05:37 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog?page=2#dis-post-507710
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507708 I do find the whole permissions / users a little confusing truth be told - don't think I am the only MODXer who finds it that way either! smiley]]> dubbs Aug 30, 2014, 02:38 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507708 <![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507702
All that a resource group does is limit access for its resources to users of the associated user group.

If a resource belongs to a resource group which in turn is connected to a user group, then it is only available to members of the user group. What they can do with it now depends on the permission in the Policy used for the user group.]]>
sottwell Aug 30, 2014, 01:23 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507702
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507701 dubbs Aug 30, 2014, 01:14 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507701 <![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507700
however...

When they try and add a new blog article they get an "Error - You do not have permission to create a Resource in this location."

Even with the user having the Administrator access policy??

Any ideas??? Seems very odd....]]>
dubbs Aug 30, 2014, 01:09 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507700
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507697 ]]> dubbs Aug 30, 2014, 12:17 PM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507697 <![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507696 Quote from: sottwell at Aug 30, 2014, 10:02 AM
There are two ways to deal with this. You can set the Articles container to be the user's root by creating a new User Setting for him, tree_root_id
http://rtfm.modx.com/revolution/2.x/administering-your-site/settings/system-settings/tree_root_id

The other way is to put every other resource into a group that he is not a member of. If a resource is not in a resource group connected to a user group, then it is available to everyone.

Thanks Susan. I don't think adding every other resource to a new user group that the blogger is not a member of will work, when new resources are added in the future - then they will not auto be added to this new resource group.

Therefore I think the User setting for the tree_root_id seems the best option. Not sure how to do that though? Any tips?]]>
dubbs Aug 30, 2014, 11:59 AM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507696
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507687 http://rtfm.modx.com/revolution/2.x/administering-your-site/settings/system-settings/tree_root_id

The other way is to put every other resource into a group that he is not a member of. If a resource is not in a resource group connected to a user group, then it is available to everyone.]]>
sottwell Aug 30, 2014, 05:02 AM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507687
<![CDATA[Re: Setting up a MODx user to only be able to add content to Articles blog]]> https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507685 dubbs Aug 30, 2014, 03:36 AM https://forums.modx.com/thread/92909/setting-up-a-modx-user-to-only-be-able-to-add-content-to-articles-blog#dis-post-507685