var sm = GlideSecurityManager.get(); var checkMe = 'record/' + root_rule + '/write'; answer = sm.hasRightsTo(checkMe, current);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 03:03 AM
Why we use this code in ACL.What did GlideSecurityManager.get() do?
and what did 'record/' + root_rule + '/write' value do?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 03:35 AM
What do you want with that ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 04:08 AM
Hi kalaiarasan This condition returns false and when i create new kb is become read only .makes all field read only.
var sm = GlideSecurityManager.get();
var checkMe = 'record/' + root_rule + '/write';
answer = sm.hasRightsTo(checkMe, current);
this return false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2016 04:22 AM
Hi Karun,
The specific code is from the wild card ACL? (*.*) ??
Then you might need to create an ACL specific to table that you are working on to override the behavior.
Thanks
Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2016 04:59 AM
Hi Srinivas,
Could you please explain what does 'root_rule' points to?
Where I can find its definition?