cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Krutish
Level: Powered On

PowerApps how to provide Roles

Hi All,

 

I have created one application in power apps where i want that only CEO,and CTO of the company can see the accounts page and rest other user can only see the listing. Is it possible in power apps. Can anybody guide me

2 ACCEPTED SOLUTIONS

Accepted Solutions
Nando
Level: Powered On

Re: PowerApps how to provide Roles

Hi @Krutish,

 

here is another thread with the same question and a good solution.

 

https://powerusers.microsoft.com/t5/General-Discussion/Screen-Permissions-and-Access/m-p/49117#M2056...

 

You can find the description of the solution in this blogpost: https://powerapps.microsoft.com/en-us/blog/implementing-role-based-permission/

nickduxfield
Level 8

Re: PowerApps how to provide Roles

Followon from my experience with the one all for all is mixed.

The problem is permisions on the connections all within one app.

You can se a global variable of CurrentUser and verify it against a list to gain visiblity of items or screens.

But you have issues with the permissions on the data sources.

For example, a big warning bar will appear if the user doesnt have access to a connection.

Also, in SharePoint for example, a user may not have access to a screen in a powerapp, but can simply naviagte to a list.

 

There doesnt appear to a dynamic load of connections based on rules at present.

Thus seperating Apps for different roles worked best for me and simplified things a whole lot.

 

3 REPLIES 3
Nando
Level: Powered On

Re: PowerApps how to provide Roles

Hi @Krutish,

 

here is another thread with the same question and a good solution.

 

https://powerusers.microsoft.com/t5/General-Discussion/Screen-Permissions-and-Access/m-p/49117#M2056...

 

You can find the description of the solution in this blogpost: https://powerapps.microsoft.com/en-us/blog/implementing-role-based-permission/

nickduxfield
Level 8

Re: PowerApps how to provide Roles

Followon from my experience with the one all for all is mixed.

The problem is permisions on the connections all within one app.

You can se a global variable of CurrentUser and verify it against a list to gain visiblity of items or screens.

But you have issues with the permissions on the data sources.

For example, a big warning bar will appear if the user doesnt have access to a connection.

Also, in SharePoint for example, a user may not have access to a screen in a powerapp, but can simply naviagte to a list.

 

There doesnt appear to a dynamic load of connections based on rules at present.

Thus seperating Apps for different roles worked best for me and simplified things a whole lot.

 

mbrocchi1
Level: Powered On

Re: PowerApps how to provide Roles

You don't mention in your question if you are using SharePoint to store your data but I thought I would let you know that I have created a tutorial on how to implement security at a SharePoint list level from PowerApps / Flow. You might find it useful and give you a different approach to your issue - 

 

SharePoint List Item Level Security in PowerApps and Flow