Set page authorization to the master_page_authoriation scheme, as the PAGE_AUTHORIZATION scheme was not working.
git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3930 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
@@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip
|
||||
-- Application Export:
|
||||
-- Application: 155
|
||||
-- Name: webmip
|
||||
-- Date and Time: 17:33 Monday March 10, 2008
|
||||
-- Exported By: HARDYA
|
||||
-- Date and Time: 18:14 Monday March 10, 2008
|
||||
-- Exported By: PRIESTJ
|
||||
-- Flashback: 0
|
||||
-- Export Type: Application Export
|
||||
-- Version: 3.1.0.00.32
|
||||
@@ -143,9 +143,9 @@ wwv_flow_api.create_flow(
|
||||
p_default_page_template=> 24734011047526756 + wwv_flow_api.g_id_offset,
|
||||
p_printer_friendly_template=> 24735530196526758 + wwv_flow_api.g_id_offset,
|
||||
p_default_region_template=> 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||
p_error_template => 38911722486594102 + wwv_flow_api.g_id_offset,
|
||||
p_error_template => 24734011047526756 + wwv_flow_api.g_id_offset,
|
||||
p_page_protection_enabled_y_n=> 'Y',
|
||||
p_checksum_salt_last_reset => '20080310173340',
|
||||
p_checksum_salt_last_reset => '20080310181437',
|
||||
p_home_link => 'f?p=&APP_ID.:101',
|
||||
p_flow_language => 'en-gb',
|
||||
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
|
||||
@@ -170,7 +170,7 @@ wwv_flow_api.create_flow(
|
||||
p_build_status => 'RUN_AND_BUILD',
|
||||
p_exact_substitutions_only=> 'Y',
|
||||
p_vpd => '',
|
||||
p_security_scheme => 14572900838700208+ wwv_flow_api.g_id_offset,
|
||||
p_security_scheme => 14565830986682708+ wwv_flow_api.g_id_offset,
|
||||
p_csv_encoding => 'N',
|
||||
p_theme_id => 101,
|
||||
p_default_label_template => 24749138532526789 + wwv_flow_api.g_id_offset,
|
||||
@@ -187,8 +187,8 @@ wwv_flow_api.create_flow(
|
||||
p_default_listr_template => 24740611526526770 + wwv_flow_api.g_id_offset,
|
||||
p_substitution_string_01 => 'SYSTEM_ENVIRONMENT',
|
||||
p_substitution_value_01 => '(Development)',
|
||||
p_last_updated_by => 'HARDYA',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080310173340',
|
||||
p_last_updated_by => 'PRIESTJ',
|
||||
p_last_upd_yyyymmddhh24miss=> '20080310181437',
|
||||
p_required_roles=> wwv_flow_utilities.string_to_table2(''));
|
||||
|
||||
|
||||
@@ -214,22 +214,6 @@ wwv_flow_api.create_security_scheme(
|
||||
p_caching=>'BY_USER_BY_PAGE_VIEW',
|
||||
p_error_message=>'You are not authorized to access this page');
|
||||
|
||||
--application/shared_components/security/authorization/page_authorization
|
||||
wwv_flow_api.create_security_scheme(
|
||||
p_id => 14572900838700208 + wwv_flow_api.g_id_offset,
|
||||
p_flow_id => wwv_flow.g_flow_id,
|
||||
p_name=>'PAGE_AUTHORIZATION',
|
||||
p_scheme_type=>'FUNCTION_RETURNING_BOOLEAN',
|
||||
p_scheme=>'return true;'||chr(10)||
|
||||
'IF wwv_flow_custom_auth.current_page_is_public then'||chr(10)||
|
||||
'return TRUE;'||chr(10)||
|
||||
'else'||chr(10)||
|
||||
'return mip_security.page_authorization(p_app_user=>:app_user, p_page_id=>:app_page_id);'||chr(10)||
|
||||
'END IF;',
|
||||
p_caching=>'BY_USER_BY_PAGE_VIEW',
|
||||
p_reference_id=> 14565830986682708,
|
||||
p_error_message=>'You are not authorized to access this page');
|
||||
|
||||
--application/shared_components/security/authorization/check_agent_access
|
||||
wwv_flow_api.create_security_scheme(
|
||||
p_id => 16097609166220701 + wwv_flow_api.g_id_offset,
|
||||
@@ -31393,10 +31377,9 @@ wwv_flow_api.create_page(
|
||||
p_help_text => ' ',
|
||||
p_html_page_header => '',
|
||||
p_step_template => '',
|
||||
p_required_role => 14572900838700208+ wwv_flow_api.g_id_offset,
|
||||
p_required_patch=> null + wwv_flow_api.g_id_offset,
|
||||
p_last_updated_by => 'MULLENM',
|
||||
p_last_upd_yyyymmddhh24miss => '20080310172358',
|
||||
p_last_upd_yyyymmddhh24miss => '20080310173707',
|
||||
p_page_is_public_y_n=> 'N',
|
||||
p_protection_level=> 'N',
|
||||
p_page_comment => '');
|
||||
@@ -50568,7 +50551,7 @@ wwv_flow_api.create_theme (
|
||||
p_theme_id => 101,
|
||||
p_theme_name=>'National Grid',
|
||||
p_default_page_template=>24734011047526756 + wwv_flow_api.g_id_offset,
|
||||
p_error_template=>38911722486594102 + wwv_flow_api.g_id_offset,
|
||||
p_error_template=>24734011047526756 + wwv_flow_api.g_id_offset,
|
||||
p_printer_friendly_template=>24735530196526758 + wwv_flow_api.g_id_offset,
|
||||
p_breadcrumb_display_point=>'REGION_POSITION_01',
|
||||
p_sidebar_display_point=>'REGION_POSITION_02',
|
||||
|
||||
Reference in New Issue
Block a user