Search Results check_sec_by_role




Overview

PA_SECURITY_PVT is the private security engine for Oracle Projects. It implements the function-security and role-based access rules that govern who may view or act upon project-related objects such as projects, resources, roles, and assignment confirmations. The package is the generic security API used by Oracle Projects forms and concurrent programs whenever a privilege check must be performed, and it is the single point of control for granting, revoking, updating, and locking project grants and roles. Because it is classified as a private (PVT) package, it is not intended as a public integration point; callers should use the corresponding public APIs that delegate to it. The header, at version 120.4, describes the package as applying "all functions except confirm assignment function," with confirmation logic handled by a dedicated procedure.

Key Procedures and Functions

Tables Accessed

The package operates across the FND and PA schemas through APPS synonyms. Oracle Foundation tables FND_GRANTS, FND_MENUS, FND_OBJECTS, FND_OBJECT_INSTANCE_SETS, FND_APPLICATION, and FND_USER supply the grant, menu, object, and user definitions that underpin function security. Project data is drawn from PA_PROJECTS_ALL, PA_PROJECT_PARTIES, PA_PROJECT_STATUSES, PA_PROJECT_ROLE_TYPES_B, PA_ROLE_STATUS_MENU_MAP, PA_RESOURCES, PA_RESOURCES_DENORM, and PA_RESOURCE_TXN_ATTRIBUTES. PER_ALL_ASSIGNMENTS_F is used to resolve the human-resources assignment context of a user, which is essential for manager-relationship and responsibility-based checks.

Usage Notes

PA_SECURITY_PVT is invoked at runtime by Oracle Projects forms, by concurrent programs performing privileged processing, and by other Project packages — 48 packages reference it. Custom code should avoid calling this private package directly; instead, it should call the public security APIs that wrap these routines so that patch upgrades do not invalidate the customization. The package name is relevant whenever project security behavior must be diagnosed, particularly for grant and role anomalies that involve locking or revocation.