how to make a table read only for all users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 01:31 PM
Hey guys ,
i have a table which should be accessible for all users. ( by default accessible only for system admin )
unchecked create access control .
does this mean this record can be called by all the user?
basically there is a ui action script which makes call to this record ( or a table) to fetch data
this works only for the system admin not when i impersonate a normal user.
i want this table to be accessible to all!
Script looks like this
var FolderID = new GlideRecord('u_#####');
FolderID.addQuery('u_######',number);
FolderID.query();
// When logged in as system admin can access records form this table.
need to make this table accessible to all
any help is appreciated
Regards
NB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 03:10 PM
Sure
Ui Action code
var updateFolderID = new GlideRecord('u_#####');
updateFolderID.addQuery('u_incident_number',number);
updateFolderID.query();
while(updateFolderID.next()){
// alert(updateFolderID.u_incident_number+updateFolderID.u_shared_link_open);
url=updateFolderID.u_shared_link_open;
}
// never enters this block on UI action
// hard coded number to a value where there is a valid response.
// on creating acl rule on the table and adding it to the user , he can access the record
same code when run on business rule works totally fine.
regards
NB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 03:12 PM
i created a script include which makes a call to table and returns the value to the ui action ( works perfectly )
is this a bug ?
regards
NB

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 03:16 PM
Not a bug. Please share screenshot of complete UI action here.
If your issue is resolved, please mark it as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list. Thank you