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 Apps / How to Dynamically Con...
Power Apps
Unanswered

How to Dynamically Control Visibility Based on Roles and Permissions in PowerApps?

(2) ShareShare
ReportReport
Posted on by 11

Hello,

I'm working on a Model-Driven app in PowerApps, where I'm managing roles and permissions through custom tables. Here's a brief overview of my setup:

  • Role Table: Contains role names (e.g., Manager, Director).
  • Permission Table: Lists permissions (e.g., Proposal).
  • PermissionByRole Table: Associates roles with specific permissions and actions (e.g., Manager has Read permission, Director has CRUD permission on Proposal).

My challenge is managing the dynamic visibility of forms, views, and controls based on these roles and permissions. For instance:

  • Currently, the Manager role has only the Read permission on the Proposal, while the Director role has CRUD permissions.
  • If I later add more permissions to the Manager role (e.g., Update), I want the corresponding forms and controls to automatically reflect this change without needing to create separate views and forms.

I'm trying to avoid hardcoding views and forms for each role and permission combination, as I anticipate adding more roles and permissions in the future. Could you guide me on the best approach or PowerApps feature to handle this scenario dynamically?

Thank you!

Categories:
I have the same question (0)

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard