Hello everyone, I want to integrate numeric entry fields into a new view, but I want to make these numeric entry fields only editable when you Meet the desired security level.
Could you suggest me a way to achieve this?
Hello everyone, I want to integrate numeric entry fields into a new view, but I want to make these numeric entry fields only editable when you Meet the desired security level.
Could you suggest me a way to achieve this?
Bind the enabled
property to the appropriate session.props.auth
property and check if it matches your requirements.
example:
This uses roles
, but there's a securityLevels
property as well.
There might be a more performant way to do this with just an expression. I'll let you figure that out.
Yep, that's probably a better way to do it.
I was too lazy to check the expression functions' page to find the proper one
Thanks to both of you!