Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Secure a processor

Secure a processor

You can protect your processor against unauthorized use by using role restrictions.

About this task

You can re-use a table's user role restrictions to protect it from access by your processor. This protection method assumes the processor will access table data.


  1. Create or select a user role that has access to the table the processor script calls.
  2. Navigate to System Definition > Processors.
  3. In Script, add the following code block.
    var gr = new GlideRecord('your_table_name');
    // canRead() compares the table’s ACL to the user making this request, and returns true if the logged-in user has read access to this table
      // Perform table query here  
    } else { 
      g_processor.writeOutput('You do not have permission to read table your_table_name'); 
  4. Update the code block to use other access restrictions as needed.

    Available access functions include:

    • canCreate()
    • canRead()
    • canWrite()
    • canDelete()
  5. Click Update.