Authorization for script execution

sieusaopolo15
Tera Guru

Hi,

There is an property "glide.script_processor.authorized_script_module_role" related to Authorization for script execution but when I set this property with roles "user_admin,itil,project_user" the expectation here is users who have one of three roles should have been executed the an module Arguments script but I still getting this restriction error "Unable to execute script in app module All, user does not have authorized role". Do I missing something when setting this property ?

5 REPLIES 5

Sohail Khilji
Kilo Patron
Kilo Patron

Check for related ACL if it has role level restrictions placed.


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

I've checked the ACL, normal users with the defined roles match in the property  are not restricted and this was checked using Debug Security Rules.

Sohail Khilji
Kilo Patron
Kilo Patron

hope you also checked parent child acl if any ?

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Yes, I did check and it is table 'incident' in my personal instance. Role 'itil' is granted for users but when those users access to the testing module I still get this error "User does not have any roles for app module All". I changed the module type from "Scripts (Arguments)" to "List of records" then it works fine for 'itil' users. I don't know what I did wrong here and this execute server script through module seems very inconclusive