Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Cross-scope privilege record

Runtime access tracking uses cross-scope privilege records to determine which script operations and targets the system allows to run.

The system creates cross-scope privilege records when:

  • Runtime access tracking is set to Tracking or Enforcing.
  • A script attempts to access another application.

Each cross-scope privilege record in the Cross scope privileges [sys_scope_privilege] table contains the following information.

FieldDescription
Source ScopeThe application requesting runtime access to another application's resources.
Target ScopeThe application whose resources are being requested.
Target NameThe name of the table, script include, or script object being requested.
Target TypeThe type of request: table, script include, or script object.
OperationThe operation the script performs on the target. The target type determines the available operations. Tables support the read, write, create, and delete operations. Script includes and script objects only support the execute API operation.
StatusThe authorization for this record: requested, allowed, or denied

Administrators can manually create cross-scope privilege records for application developers in advance to communicate which cross-scope resources they expect developers to access. For example, administrators could create these cross-scope privilege records to permit application developers access to resources from Incident Management.

Source ScopeTarget ScopeTarget NameOperationStatus
My AppGlobalincidentReadAllowed
My AppGlobalincidentWriteAllowed
My AppGlobalScopedGlideRecordExecute APIAllowed

During testing, application developers should run all of their application scripting logic to ensure the system creates any necessary cross-scope privilege records. After application publication, the system only allows runtime requests to run that have a valid cross-scope privilege record.

Note: Table privilege granting is limited to, at most, the permissions set on the table object (sys_db_object) record. For example, granting a scope privilege to delete for table incident would not be allowed if the table object for incident did not allow Can delete scopes.

Parent Topic:Application design and runtime settings