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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Can I restrict read/ac...
Power Pages
Unanswered

Can I restrict read/access of a webpage for one specific webrole?

(0) ShareShare
ReportReport
Posted on by 520

So I don`t want to add all the web roles that have access when restricting, instead I want to just add the only role that doesn`t have access.
User might have multiple roles, so the idea is, if you have that role within the other roles, your access is not granted.

Categories:
I have the same question (0)
  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @Robert94 

     

    Web Page Access Control Rule > Restrict read will achieve this in general. But what you are trying to achieve will always be superseded by the highest grant web role. Meaning. If the contact A is a Global Manager Web role which will have read access to Page A and if the same contact got a lower level web role, ex sales user. The "Global manager" web role will take precedence. Because the contact is assigned in two web roles. 

     

    Maybe you can hear from @Fubar , @chleverenz or any other experts. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    You would need to add Liquid validation for this.

    Like Ragavan explained, the way Web Page Access Control Rules works is by merging and granting the most privileges to the user, so if one of the Web Roles gives access to the record, they will have access

     

    this would be an example on how to use Liquid to look at the roles: Solved: Portals - Navigation based on web roles - Power Platform Community (microsoft.com)

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 74 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard