Authorization Schema in Oracle Apex
UDF not called on each Component! (UPDATE: it was my fault!)
We've developed a specialized Authorization Schema Configuration Tool within Apex to manage the security configurations for each component effectively.
Configuring Authschemes in Apex
Apex allows us to configure authorization schemes across various sections and scenarios to ensure robust security management.
On Page Level
Note: While we do select an authorization schema for each test object, we've streamlined the process and haven't included a new screenshot for every example.

On Region Level:

On Item Level:

On Buttons

On Dynamic Actions:

On Actions from Dynamic Actions:

On Validations

On Processes:

On IR + IG Columns:

On IG Edit - Row Privileges:

Now i configure Authorization Schemas for Handling

For example our p_sec.check_priv Package and Procedure

We put a Logger into this Package to see how often its called and what parameters are passed this way.
I found out that Apex didnt call my Package on Interactive Grid, Dynamic Actions and Dynamic Action Actions... so i flagged it with no APEX_SUPPORTED ;-(
UPDATE: At meanwhile i found out that this AutzChecks are running only if we entered in IG editmode or when the DA ist triggered. So in my logs after Page Load this Components are not seen until i do something with this interactive components! Thx Patrick

Best wishes Tom
About the author
Databaseguy, Oracle Apex Lover
Comments
Join the discussionHi Tom,
by any chance did you use the CUSTOM_PRIV_1 authorization for your IG and dynamic action? That authorization schema is set to caching, which might be causing the issue. If it still doesn't work, could you set up a quick test case on apex.oracle.com to reproduce the problem?
Regards, Patrick
Hi Patrick I got it, at the moment it seems to be my fault. I will update this Post soon. Regards, Tom
APEX Implemented Correctly? YES/NO?
The series is a exploration of Oracle APEX settings and configurations, focusing on ensuring they are optimized and aligned with best practices.
