Security on PowerApps Field

Brass Contributor

Hi

We have a very simple PowerApps form.

 

On two of the fields we have controlled who can edit these by adding a "DisplayMode" formula as  If(User().Email = "xxx@xxxx.co.uk", Edit, View)

Capture.PNG

 

This works fine and the fields are only editable by the person logging on with that email address.

 

However we have another field that is drop down and has a number of options eg option 1, option 2, option 3.

 

We just want "option 3" available to certain people ie those that logon with xxx@xxx.co.uk

 

Anyone any idea how to do this?

 

Thanks

1 Reply

I would use a collection variable with the values I want everyone to have already in it. Then when the form loads check for user XXXXX and add a value to the collection. May be some funkiness binding to a collection though as I'm reading through other's experiences doing this though.

 

https://powerusers.microsoft.com/t5/General-Discussion/Display-collection-values-in-dropdown/m-p/135...