Quote from: sottwell at Oct 15, 2015, 04:55 AMCreate your unauthorized page resource. It should be published, but not show in menus. Then once you're happy with how it looks, go to your System Settings and in the Site section scroll down to the Unauthorized page and put the ID of the resource you created. The ID is the number in parentheses to the right of the resource's name in the Resource Tree.
Thank u and sorry for my english, but it's already done.
ModX allows to create several user groups, so, some resources are readble only by some users group, some by another users group. but if you are guest you'll recieve default and everytime the same result: "Unaouthorized page".
So If i'm guest with no-access to this resources, somehow, I need to know which group of resource was requested OR i need to get resourseid (not resource id of authorized page) of requested page.
My apologies for poor explanation