Forum Discussion
Pn1995
Mar 13, 2019Brass Contributor
Security on PowerApps Field
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)
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
- TimLBSteel Contributor
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.