how to make a table read only for all users

nagendra1891
Kilo Contributor

Hey guys ,

i have a table which should be accessible for all users.   ( by default accessible only for system admin )

Screen Shot 2016-08-01 at 1.21.03 PM.png

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

12 REPLIES 12

Hi Nagendra,



For testing can you please put this as part of business rule and check once.


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 .




Is this the same case to work for business rule as well?


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


Can you please share your UI action code along with screenshot so that I can take a look.