Hide fields if not assigned user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nickh
    Member
    • Jun 2018
    • 67

    Hide fields if not assigned user

    We work a lot with Roles and Field Level Security. I am wanting to know if field visibility can be different if you are not the assigned user. For example, can the email address and telephone number be hidden to all users unless they are the assigned user?
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1606

    #2
    I do not know, if this could work:

    1. create a field to get the assigned userId
    2. use this formula: assignedUserId = env\userAttribute('id')
    3. use the created field as condition in the email and telephone field

    Comment


    • a.slyzhko
      a.slyzhko commented
      Editing a comment
      There is no way to use formula in dynamic logic (at least for now). Formula processed in the back-end, and dynamic logic is front-end
  • nickh
    Member
    • Jun 2018
    • 67

    #3
    Hi all
    If anybody is looking to achieve specific views based on assigneduser/assignedusers, then the custom views is the best way to go.


    When using it in combination with the roles, you can create multilevel field security that suits most cases.

    Comment

    Working...