Restrict access to GlideSystemUserSession scriptable API – How to validate behavior?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I’m trying to restrict the usage of GlideSystemUserSession unsanitized messaging APIs.
I set the system property: glide.sandbox.usersession.allow_unsanitized_messages = false
owever, when testing in a Business Rule, the following APIs still execute without any error or restriction:
gs.addErrorMessageNoSanitizationMessaging()
gs.addInfoMessageNoSanitization()
Restriction & validation
- Is there a supported way to fully restrict or prevent the use of these APIs?
- How can we properly test or verify that the property is working (logs, warnings, diagnostics)?
Thanks in advance!
0 REPLIES 0
