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 02:41 PM
Hi Nagendra,
For testing can you please put this as part of business rule and check once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 02:46 PM
hey ,
the business rule can access the record !!
problem is with the UI action !
i created role for the table added the user to the role and guess what, it works !!
i dono how to work with this !! all that ui action does is it needs to copy the id based on the current incident id .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 02:49 PM
Is this the same case to work for business rule as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 02:54 PM
it works perfect with business rule !
i created the sample business rule, which basically had same code ! it can access the records from the table !
issue is when i do it with UI action

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 02:59 PM
Can you please share your UI action code along with screenshot so that I can take a look.