Hi All
Iam kindly requesting for assistance of how I can restrict users from accessing Specific Data within a Power app.
- I have an application used to capture different incidents and each have a form :
a) injury on duty Incidents -Form 1
b) health & safety Incidents -Form 2
c) criminal Incidents -Form -3
d ) vehicle Incidents -Form-4
- We have different branches Like Pretoria ,Polokwane and Waterfall branches etc. .
- We have a Risk officer for each of these branches and is responsible for logging any incident that occurs on site and on specific forms .
- The risk officer from Pretoria Branch must be able to only create ,view ,edit Pretoria Branch incidents only .Also the Risk officer can only capture on 3 forms a,b,c and not the vehicle incidents form (d .
The admin user can see all incidents from all branches ,capture incidents for all branches ,see all forms -create ,edit view and even delete
From my side I have SQL tables that I have created to try and achieve this then link them per user
1. I have a user table
2.I have a roles table
3.I have the branches table
4.I have the form types table
To share the app I have created a group callled AppCapture, Iam then adding users to the group then that user has access to the app
My question/ challenge is in Power apps when a user logs into the app it functions in a way that user Robin Mars from Pretoria bakery can only work on incidents for Pretoria Branch incident , create ,view and Edit on form AB and not DC and belongs to the Risk officer role.
Any ideas are welcome I have tried a few things but Iam not winning?



