Best Approach for Controlling Field Access in Read-Only Interface

How can we allow certain users to view critical fields while restricting access for others, all within the same application and read-only interface? What’s the best approach to achieve this?

  Discussion posts and replies are publicly visible

Parents
  • Using a!isUserMemberOfGroup() won't meet my needs, as this function is only useful when users have already been added to a group. I’m aiming to define this for users' current sessions.

    Here are the steps I followed:

    1. Installed the User Session Checker plugin to retrieve the current user session details.
    2. Created an expression rule:
    3.  I called this expression from the interface containing the field I want to hide and utilized the showWhen condition.

                

Reply
  • Using a!isUserMemberOfGroup() won't meet my needs, as this function is only useful when users have already been added to a group. I’m aiming to define this for users' current sessions.

    Here are the steps I followed:

    1. Installed the User Session Checker plugin to retrieve the current user session details.
    2. Created an expression rule:
    3.  I called this expression from the interface containing the field I want to hide and utilized the showWhen condition.

                

Children
No Data