Dear,
I have an application and I’d set authorization on page,region,item and so on. A page of app has two regions "R1" , "R2" and the region "R1" has several items for example "ITEM_1","ITEM_2",...
In addition I have created a function "getAuth()" that to control authorization, now I have set Authorization Scheme for "R2" and "ITEM_1","ITEM_2" in "R1".
Authorization schemes:
Scheme Type-- PL/SQL Function Returning Boolean
return getAuth();
----------------------body in database
function getAuth()
Is
begin
--pseudo code--
if current_item = "ITEM_1" then true;
elsif current_item = "ITEM_2" then false;
elsif current_region = "R2" then false;
end if;
End;
---------------------------------------------
How can I get current item like "v('APP_ID')" and use it in getAuth?
Regards,
Saeed