<![CDATA[ Issues with a exclusive context for a specific User Group - My Forums]]> https://forums.modx.com/thread/?thread=104490 <![CDATA[Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562000
I'm trying to make a context for a specific user group "operator", I tried given to this group the Access Permission as "Context", "Only Load" and "Load, List and View" (I tested one by one, not all in the same time) and when I Write the URL of my resource, the page redirect me to my error page, I already try to give the permission to all type of users and the page continue redirecting to the error page.

I'm missing to do something?

(P.s I have 3 weeks working in MODx, sorry if my situation is for a newbie)
]]>
ilinko Oct 09, 2018, 09:07 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562000
<![CDATA[Re: Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562044 Anyway, I will not surrender and I will do my best smiley

(sorry for the bad english)]]>
ilinko Oct 11, 2018, 10:46 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562044
<![CDATA[Re: Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562042 BobRay Oct 11, 2018, 10:38 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562042 <![CDATA[Re: Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562038 Quote from: BobRay at Oct 10, 2018, 06:55 PM
Creating a second context to restrict pages to certain users is kind of overkill. It's usually easier to just do that with User Group and Resource Group permissions.

If the pages are in the front end, the context of the permission rule should be 'web' and users won't be able to access them until they log in.

Remember that when you make permission-related changes, things won't work normally until the user logs out and back in again. They also won't work normally if you're logged in to the Manager in the same browser (even in a different window). Always test from another browser where you're not logged in to the Manager.

Also, be sure to add yourself to any User Groups involved or you'll end up hiding the resources from yourself.


After a couple of days trying to do it, I will use the User Group and Resource Group way. Anyway, thanks! I think this is a Bug or something, I do everything and the documents in the Context never showed up.]]>
ilinko Oct 11, 2018, 10:22 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562038
<![CDATA[Re: Issues with a exclusive context for a specific User Group (Best Answer)]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562024
If the pages are in the front end, the context of the permission rule should be 'web' and users won't be able to access them until they log in.

Remember that when you make permission-related changes, things won't work normally until the user logs out and back in again. They also won't work normally if you're logged in to the Manager in the same browser (even in a different window). Always test from another browser where you're not logged in to the Manager.

Also, be sure to add yourself to any User Groups involved or you'll end up hiding the resources from yourself.

]]>
BobRay Oct 10, 2018, 06:55 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562024
<![CDATA[Re: Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562020 Quote from: frogabog at Oct 10, 2018, 04:09 AM
Permissions can be tricky in MODX, but are super comprehensive once you sort it out. Have you used the documentation at https://docs.modx.com/revolution/2.x/administering-your-site/security ?

I realize the docs are a little obscure. Probably one of the best/easiest to follow tutorial/documentation is at Bob's Guides though: https://bobsguides.com/modx-security-permissions.html

Look through all that, fiddle with it and come back if you find yourself stumped. More information about how you've set up EVERYTHING that you see in these guides will be helpful to us. It appears one of the crucial elements is missing (could be anything), plus you have the added complexity of a different context.


I already seen the documetation, but I will read the Bob's Guide to see if I found my problem, thanks!]]>
ilinko Oct 10, 2018, 05:36 PM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562020
<![CDATA[Re: Issues with a exclusive context for a specific User Group]]> https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562002 https://docs.modx.com/revolution/2.x/administering-your-site/security ?

I realize the docs are a little obscure. Probably one of the best/easiest to follow tutorial/documentation is at Bob's Guides though: https://bobsguides.com/modx-security-permissions.html

Look through all that, fiddle with it and come back if you find yourself stumped. More information about how you've set up EVERYTHING that you see in these guides will be helpful to us. It appears one of the crucial elements is missing (could be anything), plus you have the added complexity of a different context.

]]>
frogabog Oct 10, 2018, 04:09 AM https://forums.modx.com/thread/104490/issues-with-a-exclusive-context-for-a-specific-user-group#dis-post-562002