
Hi,
I have a Leave Request PowerApp that i have built, i want for all employees to use the Leave Request App, so i built a Powerapps Security Group in the azure portal and added every employee, easy.
My issue is a Leave Request List app and new users and the flow that ive created.
I wish for only people who created the Leave Requests, their managers, the supervisor whom approved to be able view each others leave.
I was able to achieve this by removing inherit permissions of the site (the Teams site the leave request is on is a public site), and then i created a flow to break all permissions for all old rows in the list and then restore the permissions to the creator of the leave, their manager and the approver for all the old rows in the list.
I then created a flow that triggers from when a new item is created, stop sharing and then give access to relevent parties.
However i then got errors in the powerapp from people whom where not already in this list, ie new users trying to put in leave requests. I discovered it is because they do not have the permission to add (Edit) permission so i then had to add the Powerapps Security group to that lists permission and give it Edit accesss, now however now i have broken it and others can see each others new entries..
What is the correct way to set this up.
Are you using Respond to Power Apps or HTTP Response to return the value to Power apps? This error is usually an indication that you are returning a complex object using Respond to Power Apps that contains values that are not simple data types.