Search Results ak_resp_security_attributes




Overview

The AK_RESP_SECURITY_ATTRIBUTES table is a core data object within the Oracle E-Business Suite (EBS) Application Object Library (AK) module. Its primary function is to implement responsibility-based security for application attributes. In the context of EBS 12.1.1 and 12.2.2, this table acts as a security matrix, defining which specific attributes (data fields or UI elements) a user is permitted to access based solely on their assigned responsibility. This mechanism provides a granular level of control beyond standard form and function security, enabling administrators to restrict visibility or manipulation of sensitive data fields according to business roles.

Key Information Stored

The table stores a concise mapping between responsibilities and securable attributes. Its structure is defined by a composite primary key, ensuring a unique combination for each security rule. The critical columns are:

  • RESPONSIBILITY_ID: References the responsibility (FND_RESPONSIBILITY.RESPONSIBILITY_ID) to which the security rule applies.
  • ATTRIBUTE_CODE: The code identifying the specific attribute being secured. This corresponds to AK_ATTRIBUTES.ATTRIBUTE_CODE.
  • ATTRIBUTE_APPLICATION_ID: The application ID of the attribute, working in conjunction with ATTRIBUTE_CODE to uniquely identify it. This also links to AK_ATTRIBUTES.ATTRIBUTE_APPLICATION_ID.
The presence of a record for a given responsibility and attribute combination signifies that users with that responsibility are authorized to access that attribute.

Common Use Cases and Queries

A primary use case is auditing and troubleshooting security configurations. Administrators can query which attributes are secured for a specific responsibility or identify all responsibilities granted access to a particular sensitive attribute. For example, to list all secured attributes for a responsibility named 'System Administrator', one might use:

SELECT a.attribute_code, a.attribute_label
FROM ak_resp_security_attributes rsa,
     ak_attributes a,
     fnd_responsibility_vl r
WHERE rsa.responsibility_id = r.responsibility_id
  AND r.responsibility_name = 'System Administrator'
  AND rsa.attribute_application_id = a.attribute_application_id
  AND rsa.attribute_code = a.attribute_code;
Another common scenario is programmatically enforcing this security within custom PL/SQL or reports, where the table is queried to validate a user's current responsibility against the attribute being accessed.

Related Objects

AK_RESP_SECURITY_ATTRIBUTES is centrally connected to two key master tables via foreign key constraints:

  • FND_RESPONSIBILITY: The relationship is defined on (RESPONSIBILITY_ID, ATTRIBUTE_APPLICATION_ID). This ensures every security rule references a valid responsibility.
  • AK_ATTRIBUTES: The relationship is defined on (ATTRIBUTE_CODE, ATTRIBUTE_APPLICATION_ID). This ensures every security rule references a valid, registered attribute within the AK framework.
These relationships are critical for maintaining referential integrity. The table is also intrinsically linked to the underlying AK security APIs and the FND_GLOBAL.APPS_INITIALIZE procedure, which establishes the user's responsibility context that this table's rules are evaluated against.