web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 6KDJa1/1L2RKR2pcMUieNk
Power Pages - General Discussions
Unanswered

Web Page access issue

Like (0) ShareShare
ReportReport
Posted on 10 Mar 2023 06:54:19 by 110

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😊

Categories:
  • shubham_7 Profile Picture
    110 on 14 Mar 2023 at 04:53:53
    Re: Web Page access issue

    Can you please provide the steps ?

    Thank you

  • Fubar Profile Picture
    8,056 Super User 2025 Season 2 on 13 Mar 2023 at 22:36:32
    Re: Web Page access issue

    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

  • shubham_7 Profile Picture
    110 on 13 Mar 2023 at 04:13:50
    Re: Web Page access issue

    Thanks for your reply !!  But how can you differentiate the Admin access and Authenticated access? can you please provide the solution in detail?

  • Fubar Profile Picture
    8,056 Super User 2025 Season 2 on 13 Mar 2023 at 00:29:55
    Re: Web Page access issue

    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).

  • shubham_7 Profile Picture
    110 on 10 Mar 2023 at 07:52:58
    Re: Web Page access issue

    shubham_7_0-1678434492663.png

    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

  • Haritha222 Profile Picture
    113 on 10 Mar 2023 at 07:06:05
    Re: Web Page access issue

    Hi shubham,

     

    Can you please check administrator webrole , which webpage access control rules is assigned.

     

    Regards

    Haritha 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete