Restrict custom buttons only to admin users

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heligonaut
    Junior Member
    • Feb 2021
    • 19

    Restrict custom buttons only to admin users

    Hello, I would like to ask if its possible to restrict usage of custom buttons only to user with admin privileges?

    We have implemented several custom buttons with different actions but we need to restrict some of them only to admin users, regular user should not see them.

    Is it possible to use "acl" field in clientDefs json file? What options can we use in this field?

    We are using "acl": "edit" but thing is, users must have edit permission, but not admin privileges, so they can see and use admin buttons.

    Many thanks
  • heligonaut
    Junior Member
    • Feb 2021
    • 19

    #2
    Nevermind, solved it with "acl": "admin"

    Comment

    Working...