Set Menu To User Access Role, User Authentication, Part-6

How to Set Menu According To User Access Role? Oracle Apex || User Authentication, Part-6

How to Set Menu According To User Access Role? Oracle Apex || User Authentication


In User Authorization Part-5, I have tried to show you how to create custom and dynamic navigation menus with PNG images and icons.
          Custom and Dynamic Navigation Menu, Part-5.

Some discussion about Set Menu According To User Access Role? Oracle Apex || User Authentication, Part-6

"User Authorization" is an important issue for any web application. Without the use of "User Authorization", no application is complete.
I will try to show all the important things in the Oracle Apex application through a few parts, including user login according to "User Authorization", user role, user log, user menu usage. Hopefully, if you see all the parts related to "User Authorization", you can easily use "User Authorization" in Oracle Apex.
In my previous video User Authorization Part-1, I tried to show you how to create user authentication tables, sequences, packages, trigger keys.
\ I have tried to show you how to add Create New Account button in User Authorization Part-2.
I tried to show you how to create a change password page in Oracle Apex in User Authorization Part-3.
I tried to show you how to use reset password button in Oracle Apex in User Authorization Part-4.
In User Authorization Part-5, I have tried to show you how to create custom and dynamic navigation menus with PNG images and icons.

Steps to Set Menu According To User Access Role? Oracle Apex || User Authentication, Part-6

In today's post on How to Set Menu According To User Access Role? Oracle Apex I hope you can easily use user authentication for your Oracle Apex application using the SQL code provided by me.

1. Create all menu related tables....................

                    CREATE TABLE  "USER_GROUP_PAGE_ACCESS" 
                   (	"OID" NUMBER NOT NULL ENABLE, 
                	"PID_GROUP" NUMBER NOT NULL ENABLE, 
                	"PAGE_ID" NUMBER, 
                	"PERMISSION" NUMBER(1,0) DEFAULT 1, 
                	 CONSTRAINT "ACL_GROUP_PAGE_ACCESS_PK" PRIMARY KEY ("OID")
                  USING INDEX  ENABLE, 
                	 CONSTRAINT "ACL_GROUP_PAGE_ACCESS_U01" UNIQUE ("PID_GROUP", "PAGE_ID")
                  USING INDEX  ENABLE
                   )  ENABLE ROW MOVEMENT
                
2. Create a Blank page.
3. Create a few items. Example- 1-Filter by Group, Add Panel= 1 Group, 2- Page
4. Create a Button Nane- Save Data
5. Create a Dynamic Action >>     Name- Save_Data
    Create Action >> Refresh >> Selection Type >> Region >> Group Page Permission Report.
6. Give access to all pages according to user group.
7. Go To Global Page Desktop >>     Create a items, Name- USER_TYPE
8. Go To Login Page.     Process >> Login     Edit-
                    SELECT USER_TYPE
                      INTO :P0_USER_TYPE
                      FROM MY_USERS
                     WHERE UPPER (USERNAME) = UPPER ( :P9999_USERNAME);
                

If there is any problem with the SQL code provided by me then you can definitely let me know by mail or mobile number and comment. I must give you any SQL code. User Authorization

See My Demo Application.
            Url- Demo Application
            Username- demo, Pass- demo


Links to all the parts related to User Authorization will be given below.
1. User Authorization Schemes, Part-1 Video Url- https://youtu.be/vSdzwnkFDRs
2. Add Create New Account button on the login page, User Authorization, Part-2 Video Url- https://youtu.be/IajwZ5dp6Qc
3. Create a ChangePassword Page, User Authorization, Part-3 Video Url- https://youtu.be/iRXsO0MTOuM
4. Reset Password, User Authorization, Part-4 Video Url- https://youtu.be/IK3PjyWGQIA
5. Dynamic Navigation Menu, User Authorization, Part-5 Video Url- https://youtu.be/Ozoc4cpjBKY
6. Set Menu According To User Access Role, User Authorization Part-6 Video URL- https://youtu.be/X407N_N2HNM
7. Add Edit Button in Report According to User Access Role || Oracle APEX? User Authentication, Part-7.User Authorization Video URL- https://youtu.be/n9W64qUoS1E
8. Access google authentication in Oracle Apex | Google Authentication. User Authorization Video URL- https://youtu.be/kGMmvuG5Qs8
9. Change Password in Email Verification if you Forget Your Password. User Authorization Video URL- https://youtu.be/MPZQuraig7w

Hope you find this post helpful User Authorization. To see more about Oracle Apex User Authorization, you can visit my website.
You can also visit my youtube channel. I try my best to share my education with everyone. I will always try to give you something new. Please help by subscribing to my youtube channel.

Many thanks for visiting the site.

Then Enjoy.........................
Set Menu To User Access Role, User Authentication, Part-6

2 Comments

Hlo Sir

  1. good job thank you very much but a question, how to create th user_group and user_page table ????

    ReplyDelete
Previous Post Next Post