How to fix it
- Navigate to
System Definition > Script Includesor check your error logs to identify the exact table, Script Include, or function being accessed across scopes. - Go to
System Applications > Cross Scope Accessand check if a sys_scope_privilege record exists for your source app accessing the target resource. - If no privilege record exists, click New and set:
Source Scope: Your scoped applicationTarget Scope: The target application or global scopeTarget Name: Specific table name (e.g., incident) or Script Include nameOperation: read, write, create, or delete
- For broader access, navigate to
System Applications > Applicationsand open the target application record. - In the
Accessible fromfield, selectAll application scopesor add your specific source application. - If the target resource is in global scope, go to
System Applications > Cross Scope Access > Application Cross Scope Accessand create a new record. - Set the
Source Applicationto your scoped app andTarget Applicationto Global or the specific target app. - Check ACLs by navigating to
System Security > Access Control (ACL)and filtering by the target table name. - Review ACL scripts for conditions like
gs.getCurrentApplicationId()or role requirements that might block cross-scope access.
Granting broad cross-scope access can bypass security controls. Always grant the minimum necessary privileges for specific tables or Script Includes rather than full application access.
- If this is shared utility code, consider moving it to a global Script Include and setting
Accessible fromtoAll application scopes. - Clear the application cache by navigating to
System Diagnostics > Cache Statisticsand clicking Flush Cache or restart the instance.
Test your fix by reproducing the original operation. Check System Logs > All for any remaining cross-scope access errors to ensure all required privileges are granted.