Giving Import/Export XML Privilege to user_admin role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Need to give user_admin ability to import/export XML group records they've created to other instances.
From what I've configured they now can see Import XML but get the following error: Unable to upload file due to security restrictions
Also, they can export an XML list from list view but cannot export an individual record, Export > XML (This Record) is not available.
Below is what has been configured.
glide.ui.admin_import_xml_roles - admin,user_admin
Context Menu > Import XML condition - gs.hasRightsTo("ui/context_menu.import_xml/read", null) && !ListProperties.isRelatedList() && !ListProperties.isRefList() || gs.hasRole('user_admin')
Context Menu > Export > XML condition - gs.hasRightsTo("ui/context_menu.export_xml/read", null) || gs.hasRole('user_admin')
I've cleared cache, had users logout and back in, but still have the issues stated above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @mgraden,
not entirely sure but it seems that you gave them rights to exporting but not to the table as such.
Check the ACL or eventually Access Analyser to review their access rights.
Let me know what you found
100 % GlideFather experience and 0 % generative AI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Neither are fulling working yet. They can export an XML from list view, but the option doesn't show from the form/record view. The user_admin role has ACLs to create/write records to the group table, so shouldn't be receiving a permissions error due to that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
For form/record view you can configure it in UI Macro using the jelly and javascript code.
