Announcement

Collapse
No announcement yet.

How do I manage Dashlet permissions?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I manage Dashlet permissions?

    Hello there,
    I created a module and prepared a special dashlet. But when I made the permissions disabled I used the dashlet. How can I block this by roles?

    Thanks in advance for your help.

  • #2
    Hello,
    in dashlet definition you can set aclScope,
    like https://github.com/espocrm/espocrm/b.../Leads.json#L3
    If you have additional conditions, you can define them in entity controller

    Comment


    • #3
      Originally posted by tanya View Post
      Hello,
      in dashlet definition you can set aclScope,
      like https://github.com/espocrm/espocrm/b.../Leads.json#L3
      If you have additional conditions, you can define them in entity controller
      Thank you tanya

      Comment

      Working...
      X