User is not able to remove user criteria in standard change templete

Gopal14
Tera Contributor

Hi Team,

 

I have a ITIL user, he is trying to remove user criteria(Available for) for standard change template, but it is not working.

 

User criteria still showing, even though user has removed that

 

 

user is having itil, change_manager roles.

1 ACCEPTED SOLUTION

@Gopal14 

it means that user is not able to delete record from table "sc_cat_item_user_criteria_mtom"
OOTB there are 2 ACLs for Delete

-> only user with catalog_admin or catalog_manager/catalog_editor with script returning true is allowed to Delete

-> Create new Table.None DELETE ACL and add itil and change_manager role to it

AnkurBawiskar_0-1770125677936.png

AnkurBawiskar_1-1770125704517.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

18 REPLIES 18

@Ankur Bawiskar 

 

As you suggested I have added that code, however snc_internal role is not there in my client instance, that is the reason I have not added any role.

 

Just added script, however it is not working

 

Gopal14_0-1770218029727.png

 

 

Gopal14_1-1770218053421.png

 

Activate the Explicit Role (com.glide.explicit_roles) plugin to provide the instance with the new snc_internal and snc_external roles for B2B and B2C applications, preventing external users from accessing internal data. Enterprise users (employees) must have the internal role while non-enterprise users (non-employees) must have the external role.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Gopal14 

 

https://www.servicenow.com/docs/r/washingtondc/platform-security/explicit-role-plugin.html

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

@Gopal14 

you gave wrong table name in ACL

I informed to create ACL on sc_cat_item_user_criteria_mtom in my earlier post

AnkurBawiskar_0-1770218980333.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader