In DBMS_REDACT, is there way to mask a column based upon another columns value?
Oracle RDBMS 19c
In HR table, there are several depts and salary. say everyone in dept 10 is upper management and their salarys are not to be disclosed, but the user should be able to see all the rest of the DEPTs.
Is there a way of setting up a redaction policy that excludes dept 10 but uses the expression to check if they have a role assigned to them?
Thank You