Authorization scheme to prevent access to a specific page

Use of authorization scheme.

The roles page is only to be used by a very small subset of users of this application.  An authorization scheme was created in shared components and applied to the roles page:

select 'x' from ui_admin_users admin, ui_roles roles
where roles.role_name = 'role_admin'
and admin.email_address = lower(:APP_USER)

Scheme type: Exists SQL Query

Error message: You must be a role administrator to maintain roles.

Comments

Popular posts from this blog

Roles Page - Validations and Primary Key

Database triggers and Application Express