statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 1 | -- -------------------------------------------------------------------------------------------- |
| 2 | -- This is the common default data for 1707 Open Source Version of Ecomp Portal database called |
| 3 | -- portal based on 1610.2 Open Source Version and 1702 |
| 4 | -- Version of Ecomp Portal database called portal from |
| 5 | -- Branchfeature/1610.2_OpenSource/ecomp_portal_core ecomp-portal-BE ecomp-portal-resources sql scripts |
| 6 | |
| 7 | USE portal; |
| 8 | |
| 9 | set foreign_key_checks=1; |
| 10 | |
| 11 | -- FN_FUNCTION |
| 12 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_process','Process List'); |
| 13 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_job','Job Menu'); |
| 14 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_job_create','Job Create'); |
| 15 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_job_designer','Process in Designer view'); |
| 16 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_task','Task Menu'); |
| 17 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_task_search','Task Search'); |
| 18 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_map','Map Menu'); |
| 19 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_sample','Sample Pages Menu'); |
| 20 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('login','Login'); |
| 21 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_home','Home Menu'); |
| 22 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_customer','Customer Menu'); |
| 23 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_reports','Reports Menu'); |
| 24 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile','Profile Menu'); |
| 25 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_admin','Admin Menu'); |
| 26 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_feedback','Feedback Menu'); |
| 27 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_help','Help Menu'); |
| 28 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_logout','Logout Menu'); |
| 29 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_notes','Notes Menu'); |
| 30 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_ajax','Ajax Menu'); |
| 31 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_customer_create','Customer Create'); |
| 32 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile_create','Profile Create'); |
| 33 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_profile_import','Profile Import'); |
| 34 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('menu_tab','Sample Tab Menu'); |
| 35 | Insert into fn_function (FUNCTION_CD,FUNCTION_NAME) values ('view_reports','View Raptor reports'); |
| 36 | |
| 37 | -- new 1702 |
| 38 | Insert into fn_function (function_cd,function_name) values ('edit_notification','User Notification'); |
| 39 | Insert INTO fn_function (function_cd,function_name) values ('getAdminNotifications', 'Admin Notifications'); |
| 40 | Insert INTO fn_function (function_cd,function_name) values ('saveNotification', 'publish notifications'); |
| 41 | -- end new 1702 |
| 42 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 43 | -- new 1707 |
| 44 | INSERT INTO fn_function (function_cd, function_name) VALUES ('menu_web_analytics', 'Web Analytics'); |
| 45 | -- end new 1707 |
| 46 | |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 47 | -- FN_LU_ACTIVITY |
| 48 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_role','add_role'); |
| 49 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_role','remove_role'); |
| 50 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_user_role','add_user_role'); |
| 51 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_user_role','remove_user_role'); |
| 52 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_role_function','add_role_function'); |
| 53 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_role_function','remove_role_function'); |
| 54 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('add_child_role','add_child_role'); |
| 55 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('remove_child_role','remove_child_role'); |
| 56 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('mobile_login','Mobile Login'); |
| 57 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('mobile_logout','Mobile Logout'); |
| 58 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('login','Login'); |
| 59 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('logout','Logout'); |
| 60 | |
| 61 | -- new 1610.2 |
| 62 | insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values('guest_login','Guest Login'); |
| 63 | -- end new 1610.2 |
| 64 | |
| 65 | -- new 1702 |
| 66 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('tab_access','Tab Access'); |
| 67 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('app_access','App Access'); |
| 68 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values('functional_access','Functional Access'); |
| 69 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('left_menu_access','Left Menu Access'); |
| 70 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('search','Search'); |
| 71 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('apa','Add Portal Admin'); |
| 72 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('dpa','Delete Portal Admin'); |
| 73 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('uaa','Update Account Admin'); |
| 74 | Insert into fn_lu_activity (ACTIVITY_CD,ACTIVITY) values ('uu','Update User'); |
| 75 | |
| 76 | -- FN_LU_MENU_SET |
| 77 | Insert into fn_lu_menu_set (MENU_SET_CD,MENU_SET_NAME) values ('APP','Application Menu'); |
| 78 | |
| 79 | -- FN_MENU Ecomp Portal now uses the left menu entries from fn_menu |
| 80 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 81 | values(1,'root',NULL,10,NULL,'menu_home','N','APP','N',NULL); |
| 82 | |
| 83 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 84 | values(2,'Home',1,10,'root.applicationsHome','menu_home','Y','APP','N','icon-building-home'); |
| 85 | |
| 86 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 87 | values(3,'Application Catalog',1,15,'root.appCatalog','menu_home','Y','APP','N','icon-apps-marketplace'); |
| 88 | |
| 89 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 90 | values(4,'Widget Catalog',1,20,'root.widgetCatalog','menu_home','Y','APP','N','icon-apps-marketplace'); |
| 91 | |
| 92 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 93 | values(5,'Admins',1,40,'root.admins','menu_admin','Y','APP','N','icon-star'); |
| 94 | |
| 95 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 96 | values(6,'Roles',1,45,'root.roles','menu_admin','Y','APP','N','icon-user'); |
| 97 | |
| 98 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 99 | values(7,'Users',1,50,'root.users','menu_admin','Y','APP','N','icon-user'); |
| 100 | |
| 101 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 102 | values(8,'Portal Admins',1,60,'root.portalAdmins','menu_admin','Y','APP','N','icon-settings'); |
| 103 | |
| 104 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 105 | values(9,'Application Onboarding',1,70,'root.applications','menu_admin','Y','APP','N','icon-add-widget'); |
| 106 | |
| 107 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 108 | values(10,'Widget Onboarding',1,80,'root.widgetOnboarding','menu_admin','Y','APP','N','icon-add-widget'); |
| 109 | |
| 110 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 111 | values(11,'Edit Functional Menu',1,90,'root.functionalMenu','menu_admin','Y','APP','N','icon-edit'); |
| 112 | |
| 113 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 114 | values(12,'User Notifications',1,100,'root.userNotifications','edit_notification','Y','APP','N','icon-settings'); |
| 115 | |
| 116 | -- end new 1702 |
| 117 | |
| 118 | -- new 1707 |
| 119 | |
| 120 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 121 | values (13,'Microservice Onboarding', 1, 110, 'root.microserviceOnboarding', 'menu_admin', 'Y', 'APP', 'N', 'icon-add-widget'); |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 122 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
| 123 | values(14,'Web Analytics',1,120,'root.webAnalytics','menu_web_analytics','Y','APP','N','icon-misc-piechart'); |
| 124 | Insert into fn_menu (menu_id, label, parent_id, sort_order, action, function_cd, active_yn, menu_set_cd, separator_yn, image_src) |
| 125 | values(15,'App Account Management', 1, 130, 'root.accountOnboarding', 'menu_admin', 'Y', 'App', 'N', 'icon-add-widget'); |
| 126 | Insert into fn_menu(MENU_ID,LABEL,PARENT_ID,SORT_ORDER,ACTION,FUNCTION_CD,ACTIVE_YN,MENU_SET_CD,SEPARATOR_YN,IMAGE_SRC) |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 127 | values(16,'Web Analytics Onboarding',1,140,'root.webAnlayticsSource','menu_admin','Y','APP','N','icon-misc-piechart'); |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 128 | -- end new 1707 |
| 129 | |
| 130 | -- FN_LU_ALERT_METHOD |
| 131 | Insert into fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('PHONE','Phone'); |
| 132 | Insert into fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('FAX','Fax'); |
| 133 | Insert into fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('PAGER','Pager'); |
| 134 | Insert into fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('EMAIL','Email'); |
| 135 | Insert into fn_lu_alert_method (ALERT_METHOD_CD,ALERT_METHOD) values ('SMS','SMS'); |
| 136 | |
| 137 | -- FN_LU_PRIORITY |
| 138 | Insert into fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (10,'Low','Y',10); |
| 139 | Insert into fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (20,'Normal','Y',20); |
| 140 | Insert into fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (30,'High','Y',30); |
| 141 | Insert into fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (40,'Urgent','Y',40); |
| 142 | Insert into fn_lu_priority (PRIORITY_ID,PRIORITY,ACTIVE_YN,SORT_ORDER) values (50,'Fatal','Y',50); |
| 143 | |
| 144 | -- FN_LU_TAB_SET |
| 145 | Insert into fn_lu_tab_set (TAB_SET_CD,TAB_SET_NAME) values ('APP','Application Tabs'); |
| 146 | |
| 147 | -- FN_LU_TIMEZONE |
| 148 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (10,'US/Eastern','US/Eastern'); |
| 149 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (20,'US/Central','US/Central'); |
| 150 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (30,'US/Mountain','US/Mountain'); |
| 151 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (40,'US/Arizona','America/Phoenix'); |
| 152 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (50,'US/Pacific','US/Pacific'); |
| 153 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (60,'US/Alaska','US/Alaska'); |
| 154 | Insert into fn_lu_timezone (TIMEZONE_ID,TIMEZONE_NAME,TIMEZONE_VALUE) values (70,'US/Hawaii','US/Hawaii'); |
| 155 | |
| 156 | -- FN_RESTRICTED_URL |
| 157 | Insert into fn_restricted_url (restricted_url, function_cd) values ('attachment.htm','menu_admin'); |
| 158 | Insert into fn_restricted_url (restricted_url, function_cd) values ('broadcast.htm','menu_admin'); |
| 159 | Insert into fn_restricted_url (restricted_url, function_cd) values ('file_upload.htm','menu_admin'); |
| 160 | Insert into fn_restricted_url (restricted_url, function_cd) values ('job.htm','menu_admin'); |
| 161 | Insert into fn_restricted_url (restricted_url, function_cd) values ('role.htm','menu_admin'); |
| 162 | Insert into fn_restricted_url (restricted_url, function_cd) values ('role_function.htm','menu_admin'); |
| 163 | Insert into fn_restricted_url (restricted_url, function_cd) values ('test.htm','menu_admin'); |
| 164 | Insert into fn_restricted_url (restricted_url, function_cd) values ('async_test.htm','menu_home'); |
| 165 | Insert into fn_restricted_url (restricted_url, function_cd) values ('chatWindow.htm','menu_home'); |
| 166 | Insert into fn_restricted_url (restricted_url, function_cd) values ('contact_list.htm','menu_home'); |
| 167 | Insert into fn_restricted_url (restricted_url, function_cd) values ('customer_dynamic_list.htm','menu_home'); |
| 168 | Insert into fn_restricted_url (restricted_url, function_cd) values ('event.htm','menu_home'); |
| 169 | Insert into fn_restricted_url (restricted_url, function_cd) values ('event_list.htm','menu_home'); |
| 170 | Insert into fn_restricted_url (restricted_url, function_cd) values ('mobile_welcome.htm','menu_home'); |
| 171 | Insert into fn_restricted_url (restricted_url, function_cd) values ('sample_map.htm','menu_home'); |
| 172 | Insert into fn_restricted_url (restricted_url, function_cd) values ('template.jsp','menu_home'); |
| 173 | Insert into fn_restricted_url (restricted_url, function_cd) values ('jbpm_designer.htm','menu_job_create'); |
| 174 | Insert into fn_restricted_url (restricted_url, function_cd) values ('jbpm_drools.htm','menu_job_create'); |
| 175 | Insert into fn_restricted_url (restricted_url, function_cd) values ('process_job.htm','menu_job_create'); |
| 176 | Insert into fn_restricted_url (restricted_url, function_cd) values ('profile.htm','menu_profile_create'); |
| 177 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor.htm','menu_reports'); |
| 178 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor2.htm','menu_reports'); |
| 179 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor_blob_extract.htm','menu_reports'); |
| 180 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor_email_attachment.htm','menu_reports'); |
| 181 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor_search.htm','menu_reports'); |
| 182 | Insert into fn_restricted_url (restricted_url, function_cd) values ('report_list.htm','menu_reports'); |
| 183 | Insert into fn_restricted_url (restricted_url, function_cd) values ('gauge.htm','menu_tab'); |
| 184 | Insert into fn_restricted_url (restricted_url, function_cd) values ('gmap_controller.htm','menu_tab'); |
| 185 | Insert into fn_restricted_url (restricted_url, function_cd) values ('gmap_frame.htm','menu_tab'); |
| 186 | Insert into fn_restricted_url (restricted_url, function_cd) values ('map.htm','menu_tab'); |
| 187 | Insert into fn_restricted_url (restricted_url, function_cd) values ('map_download.htm','menu_tab'); |
| 188 | Insert into fn_restricted_url (restricted_url, function_cd) values ('map_grid_search.htm','menu_tab'); |
| 189 | Insert into fn_restricted_url (restricted_url, function_cd) values ('sample_animated_map.htm','menu_tab'); |
| 190 | Insert into fn_restricted_url (restricted_url, function_cd) values ('sample_map_2.htm','menu_tab'); |
| 191 | Insert into fn_restricted_url (restricted_url, function_cd) values ('sample_map_3.htm','menu_tab'); |
| 192 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab2_sub1.htm','menu_tab'); |
| 193 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab2_sub2_link1.htm','menu_tab'); |
| 194 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab2_sub2_link2.htm','menu_tab'); |
| 195 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab2_sub3.htm','menu_tab'); |
| 196 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab3.htm','menu_tab'); |
| 197 | Insert into fn_restricted_url (restricted_url, function_cd) values ('tab4.htm','menu_tab'); |
| 198 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor.htm','view_reports'); |
| 199 | Insert into fn_restricted_url (restricted_url, function_cd) values ('raptor_blob_extract.htm','view_reports'); |
| 200 | |
| 201 | -- FN_ROLE |
| 202 | Insert into fn_role (ROLE_ID, ROLE_NAME, ACTIVE_YN, PRIORITY, APP_ID, APP_ROLE_ID) values (1,'System Administrator','Y',1,NULL,NULL); |
| 203 | Insert into fn_role (ROLE_ID, ROLE_NAME, ACTIVE_YN, PRIORITY, APP_ID, APP_ROLE_ID) values (16,'Standard User','Y',5,NULL,NULL); |
| 204 | Insert into fn_role (ROLE_ID, ROLE_NAME, ACTIVE_YN, PRIORITY, APP_ID, APP_ROLE_ID) values (999,'Account Administrator','Y',1,NULL,NULL); |
| 205 | Insert into fn_role (ROLE_ID, ROLE_NAME, ACTIVE_YN, PRIORITY, APP_ID, APP_ROLE_ID) values (900,'Restricted App Role','Y','1',NULL,NULL); |
| 206 | |
| 207 | -- new 1702 |
| 208 | Insert into fn_role (ROLE_ID, ROLE_NAME, ACTIVE_YN, PRIORITY, APP_ID, APP_ROLE_ID) values (950,'Portal Notification Admin','Y','1',NULL,NULL); |
| 209 | -- end new 1702 |
| 210 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 211 | -- new 1707 |
| 212 | INSERT INTO fn_role (role_id, role_name, active_yn, priority) VALUES ('1010', 'Usage Analyst', 'Y', '1'); |
| 213 | INSERT INTO fn_role (role_id, role_name, active_yn, priority) VALUES ('2115', 'Portal Usage Analyst', 'Y', '6'); |
| 214 | -- end new 1707 |
| 215 | |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 216 | -- FN_ROLE_Composite |
| 217 | Insert into fn_role_composite (PARENT_ROLE_ID,CHILD_ROLE_ID) values (1,16); |
| 218 | |
| 219 | -- FN_ROLE_FUNCTION |
| 220 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'login'); |
| 221 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_admin'); |
| 222 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_ajax'); |
| 223 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_customer'); |
| 224 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_customer_create'); |
| 225 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_feedback'); |
| 226 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_help'); |
| 227 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_home'); |
| 228 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_job'); |
| 229 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_job_create'); |
| 230 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_logout'); |
| 231 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_notes'); |
| 232 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_process'); |
| 233 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile'); |
| 234 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile_create'); |
| 235 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_profile_import'); |
| 236 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_reports'); |
| 237 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_sample'); |
| 238 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (1,'menu_tab'); |
| 239 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'login'); |
| 240 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_ajax'); |
| 241 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_customer'); |
| 242 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_customer_create'); |
| 243 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_home'); |
| 244 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_logout'); |
| 245 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_map'); |
| 246 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_profile'); |
| 247 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_reports'); |
| 248 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (16,'menu_tab'); |
| 249 | |
| 250 | -- new 1702 |
| 251 | Insert into fn_role_function (ROLE_ID,FUNCTION_CD) values (950,'edit_notification'); |
| 252 | Insert INTO fn_role_function (ROLE_ID,FUNCTION_CD) values (950, 'getAdminNotifications'); |
| 253 | Insert INTO fn_role_function (ROLE_ID,FUNCTION_CD) values (950, 'saveNotification'); |
| 254 | -- end new 1702 |
| 255 | |
Christopher Lott (cl778h) | 978dbcf | 2017-08-23 18:27:19 -0400 | [diff] [blame] | 256 | -- new 1707 |
| 257 | INSERT INTO fn_role_function (role_id, function_cd) VALUES ('1010', 'menu_web_analytics'); |
| 258 | INSERT INTO fn_role_function (role_id, function_cd) VALUES ('2115', 'menu_web_analytics'); |
| 259 | -- end new 1707 |
| 260 | |
statta | 6a62e91 | 2017-05-17 00:28:11 -0400 | [diff] [blame] | 261 | -- FN_TAB |
| 262 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB2_SUB1_S1','Left Tab 1','Sub - Sub Tab 1 Information','tab2_sub1.htm','menu_tab','Y',10,'TAB2_SUB1','APP'); |
| 263 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB1','Tab 1','Tab 1 Information','tab1.htm','menu_tab','Y',10,null,'APP'); |
| 264 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB2','Tab 2','Tab 2 Information','tab2_sub1.htm','menu_tab','Y',20,null,'APP'); |
| 265 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB3','Tab 3','Tab 3 Information','tab3.htm','menu_tab','Y',30,null,'APP'); |
| 266 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB4','Tab 4','Tab 4 Information','tab4.htm','menu_tab','Y',40,null,'APP'); |
| 267 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB2_SUB1','Sub Tab 1','Sub Tab 1 Information','tab2_sub1.htm','menu_tab','Y',10,'TAB2','APP'); |
| 268 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB2_SUB2','Sub Tab 2','Sub Tab 2 Information','tab2_sub2.htm','menu_tab','Y',20,'TAB2','APP'); |
| 269 | Insert into fn_tab (TAB_CD,TAB_NAME,TAB_DESCR,ACTION,FUNCTION_CD,ACTIVE_YN,SORT_ORDER,PARENT_TAB_CD,TAB_SET_CD) values ('TAB2_SUB3','Sub Tab 3','Sub Tab 3 Information','tab2_sub3.htm','menu_tab','Y',30,'TAB2','APP'); |
| 270 | |
| 271 | -- FN_TAB_SELECTED |
| 272 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB1','tab1'); |
| 273 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2','tab2_sub1'); |
| 274 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2','tab2_sub2'); |
| 275 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2','tab2_sub3'); |
| 276 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2_SUB1','tab2_sub1'); |
| 277 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2_SUB1_S1','tab2_sub1'); |
| 278 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2_SUB2','tab2_sub2'); |
| 279 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB2_SUB3','tab2_sub3'); |
| 280 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB3','tab3'); |
| 281 | Insert into fn_tab_selected (SELECTED_TAB_CD,TAB_URI) values ('TAB4','tab4'); |
| 282 | |
| 283 | commit; |