Announcement

Collapse
No announcement yet.

Custom fields visibility

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

  • Custom fields visibility

    Hi there.
    The app is great but we are expirienced a few difficulties with managing the access rights.
    So there is a situation:
    One large database.
    10 departments with 9 managers + CEO.
    Our goal:
    Any person of any department must search through all of the entries, but in the meantime they must be unable to see few specific fields if they are not the owner/ assigned user of the entry.
    So i thought dynamic logic will help to hide those fields, but looks like i can't make the formula without coding.

    Can you help me with addition the current user param to dynamic logic component?

    Final formula must be look like this:
    Conditions making field visible:
    //sort of
    field assignedUser equals currentUser
    OR
    currentUserRole == CEO
    //sort of

    Any assisstance?

  • #2
    hello,
    without codding it is impossible for now.
    you can override all the views of this entity and in afterRender method hide this field

    Comment


    • punkyard
      punkyard commented
      Editing a comment
      Thanks Tanya, and what about now? in 2021 with EspoCRM v6.1.6?

    • shalmaxb
      shalmaxb commented
      Editing a comment
      Tanya does not work here anymore.

  • #3
    Hello
    You can use a "Dynamic logic".
    Detail here: https://docs.espocrm.com/administration/dynamic-logic/

    Comment


    • #4
      thanks shalmaxb et DEN

      Comment

      Working...
      X