The CreatorCon Call for Content is officially open! Get started here.

Hello ACL is no working

Abigail
Tera Expert

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.

Abigail_0-1692789300682.png

Abigail_1-1692789317059.png

only exists other ACL for the state field

Abigail_3-1692789706525.png

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

2 ACCEPTED SOLUTIONS

manjusha_
Kilo Sage

@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;

 

If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact

 

Thanks,

Manjusha Bangale

View solution in original post

@Abigail 

 

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

View solution in original post

10 REPLIES 10

@Abigail 

 

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

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

Abigail_0-1692793525106.png

 

@Abigail 

 

You deactivated exisiting acl?

 

Thanks,

Manjusha Bangale

@manjusha_ 

Sorry I didn't deactivate the ACL, but how can I work with both ACLs?

 

@Abigail 

 

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