- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:25 AM
Hello, I need to restrict the access to the "assigned to" user to not be able to move the state and give access only if the user belongs to IT.I.SIAM.Change_Management.
only exists other ACL for the state field
But when I impersonate the users this one is able to move the state.
I tried to move the script conditions and also only work with the non-script condition but is still not working.
Any idea why this is happening?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:38 AM - edited 08-23-2023 04:38 AM
@Abigail ]
In your write acl (for state field)script write below code
var group = 'IT.I.SIAM.Change_Management';// you can use field value as well using current.getDisplayValue('assignment_group')//use proper backend name of assignment group field
var isMember = gs.getUser().isMemberOf(group);
answer =isMember;
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:01 AM - edited 08-23-2023 05:02 AM
Keep your ACL as it is and deactivate exisiting acl and check whether state field is read only or not
Check it for member of group IT.I.SIAM.Change_Management and user who is not member of the group.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:01 AM - edited 08-23-2023 05:02 AM
Keep your ACL as it is and deactivate exisiting acl and check whether state field is read only or not
Check it for member of group IT.I.SIAM.Change_Management and user who is not member of the group.
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 05:26 AM - edited 08-23-2023 05:27 AM
Hello @manjusha_
ACL is not working
The user is not a member of the group.
Here is an example of the change that I'm using for testing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 06:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 11:47 PM
In your existing acl ,add condition as below
state is one of closed,canceled
in your acl script -answer =fasle
With above condition any assigned wont edit state when state is closed/canceled
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Manjusha Bangale