extra security added to manual quote button, only webMIPadmin and I&C can see it
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3439 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -13,7 +13,7 @@ prompt APPLICATION 155 - webmip
|
||||
-- Application Export:
|
||||
-- Application: 155
|
||||
-- Name: webmip
|
||||
-- Date and Time: 16:25 Thursday January 31, 2008
|
||||
-- Date and Time: 17:47 Thursday January 31, 2008
|
||||
-- Exported By: PRIESTJ
|
||||
-- Flashback: 0
|
||||
-- Export Type: Application Export
|
||||
@@ -145,7 +145,7 @@ wwv_flow_api.create_flow(
|
||||
p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||
p_error_template => 24734616867526758 + wwv_flow_api.g_id_offset,
|
||||
p_page_protection_enabled_y_n=> 'N',
|
||||
p_checksum_salt_last_reset => '20080131162500',
|
||||
p_checksum_salt_last_reset => '20080131174734',
|
||||
p_home_link => 'f?p=&APP_ID.:1',
|
||||
p_box_width => '98%',
|
||||
p_flow_language => 'en-gb',
|
||||
@@ -185,7 +185,7 @@ wwv_flow_api.create_flow(
|
||||
p_default_menur_template => 24737010408526765 + wwv_flow_api.g_id_offset,
|
||||
p_default_listr_template => 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||
p_last_updated_by => 'PRIESTJ',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080131162500',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080131174734',
|
||||
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
|
||||
|
||||
|
||||
@@ -13490,7 +13490,7 @@ wwv_flow_api.create_page(
|
||||
p_required_role => 16097609166220701+ wwv_flow_api.g_id_offset,
|
||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||
p_last_updated_by => 'PRIESTJ',
|
||||
p_last_upd_yyyymmddhh24miss => '20080131160832',
|
||||
p_last_upd_yyyymmddhh24miss => '20080131164141',
|
||||
p_page_is_public_y_n=> 'N',
|
||||
p_protection_level=> 'C',
|
||||
p_page_comment => '');
|
||||
@@ -13704,11 +13704,20 @@ wwv_flow_api.create_page_button(
|
||||
p_button_image_alt=> 'Manual Quote',
|
||||
p_button_position=> 'BOTTOM',
|
||||
p_button_alignment=> 'RIGHT',
|
||||
p_button_condition=> 'select 1'||chr(10)||
|
||||
p_button_condition=> 'declare'||chr(10)||
|
||||
'l_count number :=0;'||chr(10)||
|
||||
'begin'||chr(10)||
|
||||
'select count(*) into l_count'||chr(10)||
|
||||
'from quotes q'||chr(10)||
|
||||
'where q.enqu_id = :P32_ID'||chr(10)||
|
||||
'and upper(q.qute_type) = ''MQ'';',
|
||||
p_button_condition_type=> 'EXISTS',
|
||||
'and upper(q.qute_type) = ''MQ'';'||chr(10)||
|
||||
'if l_count>0 and #OWNER#.mip_security.component_authorization(v(''APP_USER''),''icadmin'') then'||chr(10)||
|
||||
' return true;'||chr(10)||
|
||||
'else'||chr(10)||
|
||||
' return false;'||chr(10)||
|
||||
'end if;'||chr(10)||
|
||||
'end;',
|
||||
p_button_condition_type=> 'FUNCTION_BODY',
|
||||
p_button_cattributes=>'name="Manual Quote"',
|
||||
p_required_patch => null + wwv_flow_api.g_id_offset);
|
||||
|
||||
@@ -19932,7 +19941,7 @@ wwv_flow_api.create_page_process(
|
||||
p_process_name=> 'Process Row of ENQUIRIES',
|
||||
p_process_sql_clob => p,
|
||||
p_process_error_message=> 'Unable to save enquiry',
|
||||
p_process_when=>'delete_enquiry',
|
||||
p_process_when=>'delete_enquiry MANUAL_QUOTE',
|
||||
p_process_when_type=>'REQUEST_NOT_IN_CONDITION',
|
||||
p_process_success_message=> 'Enquiry has been saved.',
|
||||
p_process_is_stateful_y_n=>'N',
|
||||
|
||||
Reference in New Issue
Block a user