Hello there,
I was getting errors while accessing the web page, In my site, I have 2 Roles 1. The authenticated user,2. Admin When I was restricting the page access through page permission for Admin & Authenticated User. But when Admin is going to log in he can able to see the pages which belong to Authenticated User. Please help me with this .
Thank You😊
Can you please provide the steps ?
Thank you
Different Web Roles each with different set of permissions. But those roles are not set as Authenticated Users etc (unless one is a super set of the other).
2 out of the box web roles, one for authenticated users and another for anonymous are set by default to be inherited by any user that is logged in or not logged in respectively. The Administrators web role is not an inherited role, it via direct assignment to your Contact records
The inherited Web Roles have checkboxes on them, to stop them inheriting all you have to do is uncheck the check boxes on them (not sure if this is exposed in the designer, but you can do it from the Portal Management App). If you uncheck the checkboxes you then need to manually assign Web Role/s (out of the box ones or custom ones) to your contacts (or automate the assignment, or if sending portal invitations can add to the invitation).
https://learn.microsoft.com/en-us/power-pages/security/create-web-roles#attributes-and-relationships
Thanks for your reply !! But how can you differentiate the Admin access and Authenticated access? can you please provide the solution in detail?
The out of the box Authenticated User Web Role by default is set so that any logged in user will inherit its permissions (the Web Role does not show as assigned against the logged in users but they inherit its permissions) i.e. Your portal user is getting the Admin role permissions + the Authenticated Role permissions (as your admin is an authenticated user as they have logged in) . The Anonymous one also behaves similarly but for visitors that are not logged in.
You can stop this behavior by un-ticking the respective checkbox on the Web Role (note if you un-tick it you will have to make sure that you are directly assigning Web Roles to your authenticated Portal users).
As you can able to see I have added an access control rule in which Admin is a role and for admin, I am restricting the "My Property " Page under the Admin role I have added one user from contacts, but even adding the access control rule Admin can able to access the "My Property" page .
Note: I have given Web page permission for "My Property " to be Authenticated User .Please Help
Hi shubham,
Can you please check administrator webrole , which webpage access control rules is assigned.
Regards
Haritha
Fubar
62
Super User 2025 Season 2
Lucas001
48
Super User 2025 Season 2
KevinGador
44
Super User 2025 Season 2