moderate-tomatoM
Refineโ€ข4y agoโ€ข
11 replies
moderate-tomato

Hide *Button for forbidden actions

Hi! Is there a way to avoid the disabled button for actions an user cannot do (because unauthorized)?

Right now my "basic user" should only be able to see (not edit) a list, and its detail. Using <EditButton> in the actions column instead makes the button appear as disabled (but still clickable).

Is there a way to either :

1- disable also the click on the button
2- do not print the button at all if can is
false
Was this page helpful?