Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How control Page Visibility based on a condition

Osama_MoJun 28 2024

Hello,
I have an APEX APP , that is configured to log-in Using OCI IAM (SSO).
I have 5 pages :
Page1
Page2
Page3
Page4
Page5

I want to make Page1 and Page2 available for All users after login by default.
and make Page3,Page4 and Page5 only visible for some users.

My thoughts are :

1-Call A REST API at HomePage Pre-rendering, which will take Username as Input, and response will have user_type as a reply either (USER,SUPERVISIOR), and based on the response i can control pages visibility.

2-Create a a table called supervisor, and if username exists on that table , then show page3,page4,page5

3-Create a group at OCI IAM Called supervisors, and any one assigned to it will have access for that application (separate page3,page4,page5 to another application and enable “Enforce grant as Authorization” Option.

Kindly advise how to achieve that.

Thanks.

This post has been answered by Mike Kutz on Jun 28 2024
Jump to Answer
Comments
Post Details
Added on Jun 28 2024
3 comments
297 views