Hey!
I am trying to put an expression on my table for updates that only allows those with the access level of Admin OR someone who is assigned to the project to edit the item. This is my formula:
IFS(
IN(USEREMAIL(), SELECT(People[Email],[Access Level]=“Admin”)), “ALL_CHANGES”,
IN(USEREMAIL(), Select(Tracker[Accountable TM (Primary)], [Accountable TM (Primary)]=USEREMAIL())), “ALL_CHANGES”,
IN(USEREMAIL(), SELECT(People[Email],[Access Level]=“User”)),“READ_ONLY”)
BUT the above allows me as a user to edit anything still. IF I change it to the following:
IFS(
IN(USEREMAIL(), SELECT(People[Email],[Access Level]=“Admin”)), “ALL_CHANGES”,
IN(USEREMAIL(), SELECT(People[Email],[Access Level]=“User”)),“READ_ONLY”,
IN(USEREMAIL(), Select(Tracker[Accountable TM (Primary)], [Accountable TM (Primary)]=USEREMAIL())), “ALL_CHANGES”)
The access role I have assigned of User overrides the fact that my email is equal to the “Accountable TM(Primary)”. Thoughts? Maybe a completely different formula…?