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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Page Permissions appea...
Power Pages
Suggested Answer

Page Permissions appear non-functional?

(1) ShareShare
ReportReport
Posted on by 8
Good afternoon all,
 
Novice user here.
 
I have two page branches in my Power Page (one for customers and one for employees). I have created web roles for customers and for employees, and have allocated them appropriately to portal contacts. I have then set the permission restriction in the page settings to only display for the respective web roles (in line with documentation and about a thousand Youtube instructional videos...).
 
However, when you authenticate as a customer user, the employee pages are still visible. Is there another setting (like an "Enforce Page Permissions" setting) that I may have overlooked? I'm not sure what I could be doing wrong, as the demos/documentation suggest that setting view permissions by web role is a very elementary operation?
 
With thanks for any guidance.
James.
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,992 Super User 2025 Season 1 on at
    1. Enable "Enforce Permissions" Setting:
    • Go to Portal Management > Site Settings.
    • Search for the Authentication/Registration/Enforce Permissions setting (if it doesn't exist, you'll need to create it).
    • Set the value of Enforce Permissions to true. This ensures that the web role-based permissions are enforced throughout the portal.
    2. Ensure Correct Web Role Assignment:
    • Double-check that the contacts have been correctly assigned the appropriate web roles in the Portal Management App.
    • Go to Portal Management > Contacts > Select the contact > Related > Web Roles. Verify that the correct role (customer or employee) is assigned.
    3.Check the Page Permissions:
    • Go to Portal Management > Web Pages > Select the specific page you want to restrict.
    • In the Page Permissions section, ensure that only the respective web role is assigned to View the page. Check that the page permissions are exclusive for the relevant web roles (customers and employees).
    Let me know how it goes.
  • Suggested answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at
    Check the Security Roles that you have added to the Web Page Access Control Rules.  One of them may have the Authenticated Users checkbox checked on the roles definition (use the Portal/Power Pages Management App if not exposed in the Designer) - this checkbox means that its permissions will be inherited by all authenticated users (as an aside - if using the Authenticated Users inheritance only 1 web role should have this checkbox checked, if more than one only the first one the system finds will be used for the user and can lead to users inheriting off different Web Roles).
     
     
     
  • JD-11101237-0 Profile Picture
    8 on at
    Hi @Fubar.
     
    All checked, and everything looks right. Authenticated Users isn't checked for either my Customer or Employee Web Role, and the Web Page Access Control Rules are set correctly. It just seems like Power Pages isn't considering the Access Control Rules at all.
     
    Thank you for your reply though. I appreciate you taking the time.
    JD
  • JD-11101237-0 Profile Picture
    8 on at
    Hi @SaiRT14
     
    Good ideas. I added the EnforcePermissions Site Setting but it doesn't look to have made any difference. I've checked the contact and page roles and they look to be set up correctly too.
     
    Thank you for your reply. I appreciate you taking the time.
    JD
  • Suggested answer
    JD-11101237-0 Profile Picture
    8 on at
    Hi everyone.
     
    We discovered the root of the issue. The Administrators web role was set as "Authenticated Users: Yes". Consequently the logged in users were inheriting the Administrator permission which was overriding the page access control rules.
     
    Solution is to set Authenicated Users: No for the Administrator's Web Role. Simple really!
     
    Thanks for your responses @SaiRT14 and @Fubar.
     
    JD.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 61

#2
11manish Profile Picture

11manish 38

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard