Modx Revolution 2.0.7
Login 1.5.2
1) In the Web context I create login page ( id=17 ) with « Login 1.5.2 ». [[!Login? &loginResourceId=`18`]] 18 is in the context « my_context »
2) I create a new context named « my_context » in which I placed two protected documents, id=18 and id=19.
Then I follow the «Making Member-Only Pages»
1. Create a Resource Group ==> my_ressource_group
2. Link my protected documents the Resource Group ==> my_resource_group.
3. Create a User Group ==> my_user_group
4. To my User Group « my_user_group » I add Context Access « my_context », minimum role ’Member (9999)’, access policy «Load only»
5. Add a resource group entry on the Resource Group Access tab (context: « my_context », minimum role: Member (9999), access policy: load only)
6. Add users to the user group « my_user_group » with the role of Member. (Security -> Manage Users)
7. Flush permissions (Security -> Flush Permissions) and try it in another browser (not just another browser window: another browser)
The problem is when I log myself (front end) to access to my protected documents, the log is OK, but I stay in my login page.
When I change the &loginResourceId in [[!Login? &loginResourceId=`18`]] to a page in the Web context, it is OK, I am redirected this page.
After listening the « Understanding MODx Revolution Security » many, many times, I can find what I did wrong.
Thank for answering