Permission List Comparison
- Target Database: —
- Context Type: —
- Alert Severity: —
- Triggered Time: —
- Firing Context:
— - Contextual SQL:
—
Permission List Comparison Report
Report ID: security-compare-permlists
Category: Security
Permission List Comparison diffs two PeopleSoft permission lists (PSCLASSDEFN) across databases or within the same database across signon windows, component authorizations, web libraries, service operations, component interfaces, process groups, and query access groups.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
classID1 | Yes | — | Source permission list (CLASSID), trimmed and converted to uppercase. |
target_db | No | Source database | Target database name configured in psLens. |
classID2 | No | Same as classID1 | Target permission list (CLASSID), trimmed and converted to uppercase. |
Comparing a permission list against itself in the same database returns an error. Before fetching authorization tables, psLens checks PSCLASSDEFN in both databases and stops with an error if either permission list does not exist.
Tables Queried
| Table | Purpose |
|---|---|
PSCLASSDEFN | Permission list definition and existence verification |
PSAUTHITEM | Component, page, web library, and PeopleTools authorizations |
PSMENUITEM | Menu and component enrichment joined with PSAUTHITEM |
PSMENUDEFN | Subquery filter separating menu items from special authorizations |
PSAUTHSIGNON | Authorized signon days and start/end time windows |
PSAUTHWS | Service operation authorizations |
PSAUTHBUSCOMP | Component interface and method authorizations |
PSAUTHAS | Application service authorizations included in summary counts |
PSAUTHPRCS | Process group authorizations |
SCRTY_ACC_GRP | Query tree and security access group permissions |
SCRTY_QUERY | Query security profile metadata |
If any secondary authorization table is not whitelisted in SWS in either database, the report still runs and prints a Partial Data Notice warning naming the unwhitelisted table and database.
Report Output
Each comparison produces a Markdown document containing only the sections that have data:
- Header Link: Direct link back to
/permissionlists/comparein psLens with both databases and permission lists preselected. - Summary: Counts for Total Compared Items, Identical / Matching, Differences, Only in Source, and Only in Target, followed by any Partial Data Notice.
- Signon Times & Windows: Day-of-week signon windows from
PSAUTHSIGNON. - Components & Pages: Component, menu, page/item, authorized actions, display-only indicator, and diff status (
MATCH,DIFFERENT_ACTIONS,ONLY_SOURCE,ONLY_TARGET). - Web Libraries & Tools: Special authorizations outside standard menus (
WEBLIB_*and PeopleTools items). - Service Operations: Operation names and action masks from
PSAUTHWS. - Component Interfaces: Component interface names, methods, and action masks from
PSAUTHBUSCOMP. - Process Groups: Authorized process groups from
PSAUTHPRCS. - Query Trees & Access Groups: Tree names, access groups, and
ACCESSIBLEvalues fromSCRTY_ACC_GRP.
How to Run
- From Reports: Open Reports > Run Report and select Permission List Comparison under Security Audits. Choose the source database, enter
classID1(plus optionaltarget_dbandclassID2), and click Run Now or Schedule. - From Compare Permission Lists: Open Security > Compare Permission Lists (
/permissionlists/compare) to run an interactive comparison and save the result to Report History. See Permission Lists.