Role Comparison

Compares permission lists, assigned users, aggregate authorizations, and process notifications across two PeopleSoft roles.
New to psLens? This page documents one specific report. To see how it runs in the product, what the output looks like, and how teams use it in practice, start with a live walkthrough.
Tailored Operational Context
  • Target Database: —
  • Context Type: —
  • Alert Severity: —
  • Triggered Time: —
  • Firing Context: —
  • Contextual SQL:
    —

Role Comparison Report

Report ID: security-compare-roles Category: Security

Role Comparison diffs two PeopleSoft roles (PSROLEDEFN) across databases or within the same database across assigned permission lists, user assignments, aggregate component and integration authorizations, and process notification settings.

Parameters

ParameterRequiredDefaultDescription
roleName1Yes—Source role name (ROLENAME). Matched with exact case, as role names in PeopleSoft are mixed case.
target_dbNoSource databaseTarget database name configured in psLens.
roleName2NoSame as roleName1Target role name (ROLENAME). Matched with exact case.

Comparing the same role name in the same database returns an error. Before fetching assignments and effective permissions, psLens checks PSROLEDEFN in both databases and stops with an error if either role does not exist.

Tables Queried

TablePurpose
PSROLEDEFNRole description, role type, last updated timestamp/operator, and existence check
PSROLECLASSPermission lists (CLASSID) assigned to each role
PSROLEUSERUsers (ROLEUSER) assigned to each role and DYNAMIC_SW flags
PSAUTHITEMAggregate component/page and WEBLIB_% authorizations across assigned permission lists
PSMENUITEMMenu and component enrichment joined with PSAUTHITEM
PSAUTHWSAggregate service operation authorizations across assigned permission lists
PSAUTHBUSCOMPAggregate component interface authorizations across assigned permission lists
PSAUTHPRCSAggregate process group authorizations across assigned permission lists
SCRTY_ACC_GRPAggregate accessible query trees and access groups (ACCESSIBLE = 'Y')
PRCSDEFNNOTIFYProcess definition notifications configured for the role
PRCSDEFNCNTDISTProcess definition distribution lists configured for the role
PRCSJOBNOTIFYProcess job notifications configured for the role
PRCSJOBCNTDISTProcess job distribution lists configured for the role

If any secondary authorization or process distribution table is not whitelisted in SWS in either database, the report completes with a Partial Data Notice warning listing the missing table and database.

Report Output

The generated Markdown document contains the following sections when populated:

  • Header Link: Direct link back to /roles/compare in psLens with both databases and role names preselected.
  • Summary: Counts for Total Compared Items, Identical / Matching, Differences, Only in Source, and Only in Target, plus any Partial Data Notice.
  • Role Properties: Side-by-side Description, Role Type, and Last Updated metadata from PSROLEDEFN.
  • Assigned Permission Lists: Permission lists linked in PSROLECLASS.
  • Users in Role: Assigned user IDs and dynamic assignment flags (DYNAMIC_SW) from PSROLEUSER.
  • Aggregate Components & Pages: Combined component and page authorizations across all permission lists in each role.
  • Aggregate Web Libraries: Combined WEBLIB_% authorizations across all permission lists in each role.
  • Aggregate Service Operations: Combined service operation authorizations from PSAUTHWS.
  • Aggregate Component Interfaces: Combined component interface authorizations from PSAUTHBUSCOMP.
  • Aggregate Process Groups: Combined process group access from PSAUTHPRCS.
  • Aggregate Query Trees & Access Groups: Combined accessible query access groups from SCRTY_ACC_GRP.
  • Process Notifications & Distributions: Role-targeted process and job notifications and distribution lists.

How to Run

  • From Reports: Open Reports > Run Report and select Role Comparison under Security Audits. Choose the source database, enter roleName1 using exact PeopleSoft casing (plus optional target_db and roleName2), and click Run Now or Schedule.
  • From Compare Roles: Open Security > Compare Roles (/roles/compare) to compare interactively and save the run to Report History. See Roles.