ACL for "value of ENUM" - possible?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • david.strejc
    Member
    • Jul 2016
    • 38

    ACL for "value of ENUM" - possible?

    We are doing project where we need ACL not only for particular field but also for value of that field.

    Lets say we got Statuses:

    In progress
    Done

    And we need to "Done" be available only for some roles in our system (lets say Project Managers).

    We know that this is probably a lot of coding - but is there any idea how to implement this in module so we can pass this module to community?

    Many thanks.
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1606

    #2
    Before lot of coding you perhaps could merely use two fields for that, for wich you configure the rights accordingly..

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1405

      #3
      If you use team in EspoCRM, you could set conditions for statuses and show only those which are allowed for specific team.

      Comment

      • Vadym
        Super Moderator
        • Jun 2021
        • 346

        #4
        Hi david.strejc

        Perhaps screenshots attached below will be helpful.

        More information about Dynamic Logic:
        https://docs.espocrm.com/administrat...-dynamic-forms
        Attached Files
        Last edited by Vadym; 01-14-2022, 02:23 PM.

        Comment

        • david.strejc
          Member
          • Jul 2016
          • 38

          #5
          Originally posted by Vadym
          Hi david.strejc

          Perhaps screenshots attached below will be helpful.

          More information about Dynamic Logic:
          https://docs.espocrm.com/administrat...-dynamic-forms
          Many thanks - we know about "dynamic logic" - I will investigate if this is enough for our solution. I was little bit afraid of configuration because there probably be lot of conditions but maybe dynamic conditions will be enough.

          Comment

          Working...