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

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


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


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