cancel
Showing results for 
Search instead for 
Did you mean: 
Shell
Nintex Newbie

How do I grey out fields/pannels from users based on permissions?

Jump to solution

I have a client that has a form where all fields are visible to the admins, however not all fields are visible to the end user. The fields that are ONLY visible to the Admin are in a pannel and then there are fields that are ONLY visible to end users AFTER the Admin adds meta date, but those fields need to be greyed out and this is what I need some help with.

 

Currently, my rule shows the fields are not visible when in NewMode and this is working, but when in Display or Edit, they should be greyed out to the End User (visible, but unable to change data).

 

1. Is this possible?

2. Help!

 

TIA Smiley Happy

Labels: (1)
0 Kudos
Reply
3 Replies
Automation Master
Automation Master

Re: How do I grey out fields/pannels from users based on permissions?

Jump to solution

@Shell .....Follow below steps:

 

  • Create a SharePoint group for your admins and add all admins in that
  • Use "fn-IsMemberOfGroup("Admin Group")" function to check if the current user is the member of your admin group
  • Disable your panel if not

 

This function is not available but if you just type it then it will work.

View solution in original post

0 Kudos
Reply
Shell
Nintex Newbie

Re: How do I grey out fields/pannels from users based on permissions?

Jump to solution

Ok I tried that and now when I am admin and non admin no one is able to edit the fields. This is what I have for the Condition:

Current User !=fn-IsMemberOfGroup("Ops Admin")

 

When I change the Condition to:

Current User ==fn-IsMemberOfGroup("Ops Admin")

then everyone Admin and non Admin are able to change the fields.

 

How do I restrict this to only admin being able to update the fields and not Non Admin?

 

Thanks~

0 Kudos
Reply
Nintex Employee
Nintex Employee

Re: How do I grey out fields/pannels from users based on permissions?

Jump to solution
Hi,
The function fn-IsMemberOfGroup("Group") returns true or false based on the current user so there is no need to use a comparison operator.
Using the function by itself is all that is needed.
0 Kudos
Reply