Hello,
I want to hide create subtask button for specific role members. I'm using the script fragment to hide button with this condition:
! isUserMemberOfRole('Administrators', 'QOP Rules Manager')
My problem is the button is hidden for all users ... :(
Could you help me?
Thank you
The problem is that in your case isUserMemberOfRole('Administrators', 'QOP Rules Manager') always returns false.
Try like this:
!(isUserMemberOfRole("Administrators") || isUserMemberOfRole("QOP Rules Manager"))
May I know what to be given for a group?
Create Sub-task button should be hidden for all the users except one group users.
Thanks,
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.