Disabling ACLs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 02:04 AM
I am attempting to create a record in the sys_ui_policy_action table using web services on Istanbul demo instance. The record is created ok but the UI Policy field is not set. Appears to be due to the access control which prevents writing to this field. Seems odd since I can create policy action through the UI. I cant update the Access Control because the fields are all read-only even though I am logged in as system administrator. Anybody know how to disable this or if there is a workaround.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 02:27 AM
What is value your are passing for UI policy field? It should be sys_id of UI policy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 02:33 AM
Hi Rakesh
Yes the value is the sys-id for the UI policy. I have managed to resolve this now by elevating my system administrator role and disabling the ACL that was causing the problem.
Kind Regards
Mark Herring
Co-Founder
ITSM Bridge: Generic Service Management Data Migration for the Enterprise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 02:37 AM
This is weird, but I do have a workaround. Background Script:
var gr=new GlideRecord('sys_ui_policy_action');
gr.addQuery('sys_id','sys id of UI policy action');
gr.query();
if(gr.next())
{
gs.log('found');
gr.ui_policy='sys ID of Ui policy';
gr.update();
}
Let me know if this helped you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2017 04:44 AM
Hi Aranrug,
Thanks for your help - looks like its working now after I disabled the ACL.
Kind Regards
Mark Herring
Co-Founder
ITSM Bridge: Generic Service Management Data Migration for the Enterprise