Skip to main content
June 30, 2025
Solved

Error in Field Security

  • June 30, 2025
  • 13 replies
  • 0 views

The above image shows that i gave the field security so thats its visible to only particular groups, but when i accessed the interface from being in that group, i was unable to see the field even though i assigned the security so that it was visible to that particular group.

    Best answer by harshas2775

    You should be in all three groups for it to be visible because you have set matchAllGroups as true. So either change matchAllGroups to false or add yourself in all three groups. 

    13 replies

    harshas2775
    June 30, 2025

    As you have done matchAllGroups true, you should be part of all the groups in the list for that field to be visible. If you want the field to be shown even when you are part of one of the groups in the list then make this attribute as false and then check. 

    mikes0011
    Brainy
    June 30, 2025

    Are you saying the test user you tried to access the interface with was a member of all groups referenced in the "groups" list?  Have you tried editing it to contain only one group at a time to see if the behavior changes?

    June 30, 2025

    I tried but it gave the same issue

    mikes0011
    Brainy
    June 30, 2025

    Then you should confirm whether a!isUserMemberOfGroup() is returning the expected result for that username - simply open an unsaved Expression Rule editor, copy the function call into that, and replace loggedinuser() with the test user's username, and ensure that when you press "test", the result returns as "true".

    stefanhelzle0001
    June 30, 2025

    If you applied field-level security in the record type, I suggest to use the a!doesUserHaveAccess() function.

    docs.appian.com/.../fnc_system_doesUserHaveAccess.html

    mikes0011
    Brainy
    June 30, 2025

    Sounds like OP is saying not even the field shows up (though i guess there's a chance we have a mix-up in terminology in play here as well).  But if that's true at face-value, then AFAIK field-level security would not be impacting anything (yet).

    July 1, 2025

    Well in the above image as you can see, after the "offers in hand" field i was supposed to have 2 fields which are 

    1) a drop down field - Status

    2) a text field - Remarks.

    And i set the field security for them as shown in the above code so its only accessible by 3 groups only, but when it comes to the final interface, i cant see them at all (the "status" and "Remarks" field) even though im in two of the groups mentioned above in the security (Im in administrator and recruiters group).

    Well as shown in the above image the "Status" and "Remarks" field is not showing to me.