Hi !
I have a simple on start section with the following below:
Set(booIsAdmin,User().Email in ShowColumns(AddColumns(Filter('Admin',Access="Full"),"AdminEmail",'Admin Owner'.Email),"AdminEmail"));
Set(booIsViewOnly,User().Email in ShowColumns(AddColumns(Filter('Admin',Access="View"),"AdminEmail",'Admin Owner'.Email),"AdminEmail"));
EXISTING
currently then on the status field shows this on the displaymode:
If(booIsAdmin,DisplayMode.Edit,DisplayMode.View)
PROPOSED
i'd like to make it so admin with full access can edit the field but if the admin has view access they can only view the field.
If(booIsAdmin,DisplayMode.Edit,DisplayMode.View);
If(booIsViewOnly,DisplayMode.View,DisplayMode.View
is the proposal right? i get the red lines