Have applied reference to the new component (useradmin)in the menu and on the create party button for ticket #438 so that suppadmin user can now create a party.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4202 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-04-02 09:49:57 +00:00
parent 48beb3862c
commit 92cd000ff1

View File

@@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip
-- Application Export: -- Application Export:
-- Application: 155 -- Application: 155
-- Name: webmip -- Name: webmip
-- Date and Time: 09:41 Wednesday April 2, 2008 -- Date and Time: 10:45 Wednesday April 2, 2008
-- Exported By: MULLENM -- Exported By: PRIESTJ
-- Flashback: 0 -- Flashback: 0
-- Export Type: Application Export -- Export Type: Application Export
-- Version: 3.1.0.00.32 -- Version: 3.1.0.00.32
@@ -145,7 +145,7 @@ wwv_flow_api.create_flow(
p_default_region_template=> 28038130488354430 + wwv_flow_api.g_id_offset, p_default_region_template=> 28038130488354430 + wwv_flow_api.g_id_offset,
p_error_template => 42209241448421762 + wwv_flow_api.g_id_offset, p_error_template => 42209241448421762 + wwv_flow_api.g_id_offset,
p_page_protection_enabled_y_n=> 'N', p_page_protection_enabled_y_n=> 'N',
p_checksum_salt_last_reset => '20080402094142', p_checksum_salt_last_reset => '20080402104537',
p_home_link => 'f?p=&APP_ID.:101', p_home_link => 'f?p=&APP_ID.:101',
p_flow_language => 'en-gb', p_flow_language => 'en-gb',
p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE', p_flow_language_derived_from=> 'FLOW_PRIMARY_LANGUAGE',
@@ -193,8 +193,8 @@ wwv_flow_api.create_flow(
p_substitution_value_03 => 'http://www.nationalgrid.com/corporate/legal/privacy.htm', p_substitution_value_03 => 'http://www.nationalgrid.com/corporate/legal/privacy.htm',
p_substitution_string_04 => 'HELP_URL', p_substitution_string_04 => 'HELP_URL',
p_substitution_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm', p_substitution_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm',
p_last_updated_by => 'MULLENM', p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss=> '20080402094142', p_last_upd_yyyymmddhh24miss=> '20080402104537',
p_required_roles=> wwv_flow_utilities.string_to_table2('')); p_required_roles=> wwv_flow_utilities.string_to_table2(''));
@@ -30761,7 +30761,7 @@ wwv_flow_api.create_page(
p_step_template => '', p_step_template => '',
p_required_patch=> null + wwv_flow_api.g_id_offset, p_required_patch=> null + wwv_flow_api.g_id_offset,
p_last_updated_by => 'PRIESTJ', p_last_updated_by => 'PRIESTJ',
p_last_upd_yyyymmddhh24miss => '20080401164119', p_last_upd_yyyymmddhh24miss => '20080402104353',
p_page_is_public_y_n=> 'N', p_page_is_public_y_n=> 'N',
p_page_comment => ''); p_page_comment => '');
@@ -30815,11 +30815,8 @@ wwv_flow_api.create_page_button(
p_button_position=> 'BOTTOM', p_button_position=> 'BOTTOM',
p_button_alignment=> 'RIGHT', p_button_alignment=> 'RIGHT',
p_button_redirect_url=> 'f?p=&APP_ID.:61:&SESSION.::&DEBUG.:61,62,63,64::', p_button_redirect_url=> 'f?p=&APP_ID.:61:&SESSION.::&DEBUG.:61,62,63,64::',
p_button_condition=> 'if mip_parties.get_user_role(:APP_USER) = ''MIPADMIN'' then'||chr(10)|| p_button_condition=> '#OWNER#.mip_security.component_authorization(v(''APP_USER''),''useradmin'')',
' return true;'||chr(10)|| p_button_condition_type=> 'PLSQL_EXPRESSION',
'else return false;'||chr(10)||
'end if;',
p_button_condition_type=> 'FUNCTION_BODY',
p_required_patch => null + wwv_flow_api.g_id_offset); p_required_patch => null + wwv_flow_api.g_id_offset);
wwv_flow_api.create_page_button( wwv_flow_api.create_page_button(
@@ -47176,7 +47173,7 @@ wwv_flow_api.create_list_item (
p_list_item_link_text=> 'Create Party', p_list_item_link_text=> 'Create Party',
p_list_item_link_target=> 'f?p=&APP_ID.:61:&SESSION.::&DEBUG.:61, 62, 63, 64:::', p_list_item_link_target=> 'f?p=&APP_ID.:61:&SESSION.::&DEBUG.:61, 62, 63, 64:::',
p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION', p_list_item_disp_cond_type=> 'PLSQL_EXPRESSION',
p_list_item_disp_condition=> '#OWNER#.mip_security.component_authorization(v(''APP_USER''),''sysadmin'')', p_list_item_disp_condition=> '#OWNER#.mip_security.component_authorization(v(''APP_USER''),''useradmin'')',
p_parent_list_item_id=> 19236704960763690 + wwv_flow_api.g_id_offset, p_parent_list_item_id=> 19236704960763690 + wwv_flow_api.g_id_offset,
p_list_countclicks_y_n=> 'N', p_list_countclicks_y_n=> 'N',
p_list_text_01=> '', p_list_text_01=> '',