Authorization for script execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 12:10 AM
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 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 12:24 AM
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 12:34 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 12:53 AM
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2023 10:51 PM - edited 12-24-2023 11:19 PM
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