How do I manage Dashlet permissions?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • codeboy
    Senior Member
    • May 2018
    • 112

    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.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #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

    • codeboy
      Senior Member
      • May 2018
      • 112

      #3
      Originally posted by tanya
      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...