From 92cd000ff10802fa09e444226d7cae05e94bfdd9 Mon Sep 17 00:00:00 2001 From: PriestJ Date: Wed, 2 Apr 2008 09:49:57 +0000 Subject: [PATCH] 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 --- Screens/f155.sql | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/Screens/f155.sql b/Screens/f155.sql index 3ff0085..2e612bd 100644 --- a/Screens/f155.sql +++ b/Screens/f155.sql @@ -13,8 +13,8 @@ prompt APPLICATION 155 - webmip -- Application Export: -- Application: 155 -- Name: webmip --- Date and Time: 09:41 Wednesday April 2, 2008 --- Exported By: MULLENM +-- Date and Time: 10:45 Wednesday April 2, 2008 +-- Exported By: PRIESTJ -- Flashback: 0 -- Export Type: Application Export -- 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_error_template => 42209241448421762 + wwv_flow_api.g_id_offset, 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_flow_language => 'en-gb', 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_string_04 => 'HELP_URL', p_substitution_value_04 => 'http://www.nationalgrid.com/corporate/legal/help.htm', - p_last_updated_by => 'MULLENM', - p_last_upd_yyyymmddhh24miss=> '20080402094142', + p_last_updated_by => 'PRIESTJ', + p_last_upd_yyyymmddhh24miss=> '20080402104537', p_required_roles=> wwv_flow_utilities.string_to_table2('')); @@ -30761,7 +30761,7 @@ wwv_flow_api.create_page( p_step_template => '', p_required_patch=> null + wwv_flow_api.g_id_offset, p_last_updated_by => 'PRIESTJ', - p_last_upd_yyyymmddhh24miss => '20080401164119', + p_last_upd_yyyymmddhh24miss => '20080402104353', p_page_is_public_y_n=> 'N', p_page_comment => ''); @@ -30815,11 +30815,8 @@ wwv_flow_api.create_page_button( p_button_position=> 'BOTTOM', p_button_alignment=> 'RIGHT', 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)|| -' return true;'||chr(10)|| -'else return false;'||chr(10)|| -'end if;', - p_button_condition_type=> 'FUNCTION_BODY', + p_button_condition=> '#OWNER#.mip_security.component_authorization(v(''APP_USER''),''useradmin'')', + p_button_condition_type=> 'PLSQL_EXPRESSION', p_required_patch => null + wwv_flow_api.g_id_offset); 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_target=> 'f?p=&APP_ID.:61:&SESSION.::&DEBUG.:61, 62, 63, 64:::', 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_list_countclicks_y_n=> 'N', p_list_text_01=> '',