The SA_POLICY_ADMIN package is used for overall management of label security policies.
To use this PL package, you must be granted the EXECUTE privilege on the SA_POLICY_ADMIN package.
The following table lists the contents of the SA_POLICY_ADMIN package supported in the current version of OceanBase Database.
| Procedure | Description |
|---|---|
| SA_POLICY_ADMIN.APPLY_TABLE_POLICY | Adds the specified policy to the table. |
| SA_POLICY_ADMIN.DISABLE_TABLE_POLICY | Disables all default enforcement options in the specified table without changing the default enforcement options, label features, or predicate values. |
| SA_POLICY_ADMIN.ENABLE_TABLE_POLICY | Reenables the current enforcement options, label features, and predicates for the specified table by reapplying RLS predicates and DML triggers. |
| SA_POLICY_ADMIN.REMOVE_TABLE_POLICY | Removes the specified policy from the table. |
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition does not support this feature.
