The SA_POLICY_ADMIN package is used to manage label security policies.
To use this 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 by the current version of OceanBase Database.
Stored Procedure |
Description |
|---|---|
| SA_POLICY_ADMIN.APPLY_TABLE_POLICY | Adds the specified policy to a table. |
| SA_POLICY_ADMIN.DISABLE_TABLE_POLICY | Disable all default enforcement options in a specified table without changing the default enforcement options, tag features, or predicate values. |
| SA_POLICY_ADMIN.ENABLE_TABLE_POLICY | By reapplying RLS predicates and DML triggers, you can re-enable the current mandatory options, labeling features, and predicates for a specified table. |
| SA_POLICY_ADMIN.REMOVE_TABLE_POLICY | Deletes a specified policy from the table. |
Applicability
This content applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL-compatible mode.
