Giving Import/Export XML Privilege to user_admin role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2026 08:44 AM
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
02-26-2026 11:37 AM
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
02-27-2026 08:24 AM
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
03-05-2026 11:42 PM
For form/record view you can configure it in UI Macro using the jelly and javascript code.
