User with privileges

Hi all ๐Ÿ‘‹

I want some icons in the navigation menu to be visible only to users with privileges. To achieve this, I created a field called: "USER WITH PRIVILEGES?". If the field remains blank, the answer is NO and the field will not be visible to an unprivileged user.
I'm not getting the desired result. Where am I doing wrong?
Thanks for your answer.

Benni_0-1699384017944.pngBenni_1-1699384057661.png

Benni_2-1699384139810.png

Benni_3-1699384165183.pngBenni_4-1699384428023.pngBenni_5-1699384484638.png

Benni_6-1699384744677.png

 

 

 

 

Solved Solved
0 4 235
1 ACCEPTED SOLUTION

Your expression ISNOTBLANK(VOLONTARIO[USER WITH PRIVILEGES?]) evaluates to TRUE if only one of the rows in the table VOLONTARIO has a value in this field.

I am not entirely sure how your app is configured but you would probably want to create an ENUMLIST field (ie [privilege list]) in your users table and in any of the show-if parameter set something like

IN(
 "Name of the privilege that grants access to this view", 
 SELECT(
  users[privilege  list], 
  [userID]=USEREMAIL()
 )
)

 

View solution in original post

4 REPLIES 4
Top Labels in this Space