INSERT INTO `RBAC_PERMISSIONS` VALUES
('00000000000000000000000000000001','PM_LOGIN','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'),
('00000000000000000000000000000002','PM_SETUP','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'),
('00000000000000000000000000000003','PM_USERS','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'),
('00000000000000000000000000000004','PM_FACTORY','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'),
('00000000000000000000000000000005','PM_CASES','2007-08-03 12:24:36','2007-08-03 12:24:36',1,'00000000000000000000000000000002'),
('00000000000000000000000000000006','PM_ALLCASES','2008-04-30 00:00:00','2008-04-30 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000008','PM_REPORTS','2008-05-12 00:00:00','2008-05-12 00:00:00',0,'00000000000000000000000000000002'),
('00000000000000000000000000000007','PM_REASSIGNCASE','2008-05-02 18:16:29','2008-05-02 18:16:29',1,'00000000000000000000000000000002'),
('00000000000000000000000000000009','PM_SUPERVISOR',NULL,NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000010','PM_SETUP_ADVANCE',NULL,NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000011','PM_DASHBOARD','2009-02-18 00:00:00','2009-02-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000012','PM_WEBDAV','2009-08-21 00:00:00','2009-08-21 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000013','PM_DELETECASE','2009-10-12 00:00:00',NULL,0,'00000000000000000000000000000002'),
('00000000000000000000000000000014','PM_EDITPERSONALINFO','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000015','PM_FOLDERS_VIEW','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000016','PM_FOLDERS_ADD_FOLDER','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000017','PM_FOLDERS_ADD_FILE','2009-10-12 00:00:00',NULL,1,'00000000000000000000000000000002'),
('00000000000000000000000000000018','PM_CANCELCASE','2011-12-11 00:00:00','2011-12-11 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000019','PM_FOLDER_DELETE','2011-12-11 00:00:00','2011-12-11 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000020','PM_SETUP_LOGO','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000021','PM_SETUP_EMAIL','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000022','PM_SETUP_CALENDAR','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000023','PM_SETUP_PROCESS_CATEGORIES','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000024','PM_SETUP_CLEAR_CACHE','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000025','PM_SETUP_HEART_BEAT','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000026','PM_SETUP_ENVIRONMENT','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000027','PM_SETUP_PM_TABLES','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000028','PM_SETUP_LOGIN','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000029','PM_SETUP_DASHBOARDS','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000030','PM_SETUP_LANGUAGE','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000031','PM_SETUP_SKIN','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000032','PM_SETUP_CASES_LIST_CACHE_BUILDER','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000033','PM_SETUP_PLUGINS','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000034','PM_SETUP_USERS_AUTHENTICATION_SOURCES','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000035','PM_SETUP_LOGS','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000036','PM_DELETE_PROCESS_CASES','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000037','PM_EDITPERSONALINFO_CALENDAR','2016-03-01 00:00:00','2016-03-01 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000038','PM_UNCANCELCASE','2016-06-14 00:00:00','2016-06-14 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000039','PM_REST_API_APPLICATIONS','2016-06-14 00:00:00','2016-06-14 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000040','PM_EDIT_USER_PROFILE_FIRST_NAME','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000041','PM_EDIT_USER_PROFILE_LAST_NAME','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000042','PM_EDIT_USER_PROFILE_USERNAME','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000043','PM_EDIT_USER_PROFILE_EMAIL','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000044','PM_EDIT_USER_PROFILE_ADDRESS','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000045','PM_EDIT_USER_PROFILE_ZIP_CODE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000046','PM_EDIT_USER_PROFILE_COUNTRY','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000047','PM_EDIT_USER_PROFILE_STATE_OR_REGION','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000048','PM_EDIT_USER_PROFILE_LOCATION','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000049','PM_EDIT_USER_PROFILE_PHONE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000050','PM_EDIT_USER_PROFILE_POSITION','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000051','PM_EDIT_USER_PROFILE_REPLACED_BY','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000052','PM_EDIT_USER_PROFILE_EXPIRATION_DATE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000053','PM_EDIT_USER_PROFILE_CALENDAR','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000054','PM_EDIT_USER_PROFILE_STATUS','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000055','PM_EDIT_USER_PROFILE_ROLE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000056','PM_EDIT_USER_PROFILE_TIME_ZONE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000057','PM_EDIT_USER_PROFILE_DEFAULT_LANGUAGE','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000058','PM_EDIT_USER_PROFILE_COSTS','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000059','PM_EDIT_USER_PROFILE_PASSWORD','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000060','PM_EDIT_USER_PROFILE_USER_MUST_CHANGE_PASSWORD_AT_NEXT_LOGON','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000061','PM_EDIT_USER_PROFILE_PHOTO','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000062','PM_EDIT_USER_PROFILE_DEFAULT_MAIN_MENU_OPTIONS','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000063','PM_EDIT_USER_PROFILE_DEFAULT_CASES_MENU_OPTIONS','2016-07-18 00:00:00','2016-07-18 00:00:00',1,'00000000000000000000000000000002'),
('00000000000000000000000000000064','PM_REASSIGNCASE_SUPERVISOR','2016-09-01 00:00:00','2016-09-01 00:00:00',1,'00000000000000000000000000000002');

INSERT INTO `RBAC_ROLES` VALUES
('00000000000000000000000000000001','','00000000000000000000000000000001','RBAC_ADMIN','2007-07-31 19:10:22','2007-08-03 12:24:36',1),
('00000000000000000000000000000002','','00000000000000000000000000000002','PROCESSMAKER_ADMIN','2007-07-31 19:10:22','2007-08-03 12:24:36',1),
('00000000000000000000000000000003','','00000000000000000000000000000002','PROCESSMAKER_OPERATOR','2007-07-31 19:10:22','2007-08-03 12:24:36',1),
('00000000000000000000000000000004', '', '00000000000000000000000000000002', 'PROCESSMAKER_MANAGER', '2010-03-29 09:14:15', '2010-03-29 09:19:53', 1);


INSERT INTO `RBAC_ROLES_PERMISSIONS` VALUES
('00000000000000000000000000000002','00000000000000000000000000000001'),
('00000000000000000000000000000002','00000000000000000000000000000002'),
('00000000000000000000000000000002','00000000000000000000000000000003'),
('00000000000000000000000000000002','00000000000000000000000000000004'),
('00000000000000000000000000000002','00000000000000000000000000000005'),
('00000000000000000000000000000002','00000000000000000000000000000006'),
('00000000000000000000000000000002','00000000000000000000000000000007'),
('00000000000000000000000000000002','00000000000000000000000000000008'),
('00000000000000000000000000000002','00000000000000000000000000000009'),
('00000000000000000000000000000002','00000000000000000000000000000010'),
('00000000000000000000000000000002','00000000000000000000000000000011'),
('00000000000000000000000000000002','00000000000000000000000000000012'),
('00000000000000000000000000000002','00000000000000000000000000000013'),
('00000000000000000000000000000002','00000000000000000000000000000014'),
('00000000000000000000000000000002','00000000000000000000000000000015'),
('00000000000000000000000000000002','00000000000000000000000000000016'),
('00000000000000000000000000000002','00000000000000000000000000000017'),
('00000000000000000000000000000002','00000000000000000000000000000018'),
('00000000000000000000000000000002','00000000000000000000000000000019'),
('00000000000000000000000000000002','00000000000000000000000000000020'),
('00000000000000000000000000000002','00000000000000000000000000000021'),
('00000000000000000000000000000002','00000000000000000000000000000022'),
('00000000000000000000000000000002','00000000000000000000000000000023'),
('00000000000000000000000000000002','00000000000000000000000000000024'),
('00000000000000000000000000000002','00000000000000000000000000000025'),
('00000000000000000000000000000002','00000000000000000000000000000026'),
('00000000000000000000000000000002','00000000000000000000000000000027'),
('00000000000000000000000000000002','00000000000000000000000000000028'),
('00000000000000000000000000000002','00000000000000000000000000000029'),
('00000000000000000000000000000002','00000000000000000000000000000030'),
('00000000000000000000000000000002','00000000000000000000000000000031'),
('00000000000000000000000000000002','00000000000000000000000000000032'),
('00000000000000000000000000000002','00000000000000000000000000000033'),
('00000000000000000000000000000002','00000000000000000000000000000034'),
('00000000000000000000000000000002','00000000000000000000000000000035'),
('00000000000000000000000000000002','00000000000000000000000000000036'),
('00000000000000000000000000000002','00000000000000000000000000000037'),
('00000000000000000000000000000002','00000000000000000000000000000038'),
('00000000000000000000000000000002','00000000000000000000000000000039'),
('00000000000000000000000000000002','00000000000000000000000000000040'),
('00000000000000000000000000000002','00000000000000000000000000000041'),
('00000000000000000000000000000002','00000000000000000000000000000042'),
('00000000000000000000000000000002','00000000000000000000000000000043'),
('00000000000000000000000000000002','00000000000000000000000000000044'),
('00000000000000000000000000000002','00000000000000000000000000000045'),
('00000000000000000000000000000002','00000000000000000000000000000046'),
('00000000000000000000000000000002','00000000000000000000000000000047'),
('00000000000000000000000000000002','00000000000000000000000000000048'),
('00000000000000000000000000000002','00000000000000000000000000000049'),
('00000000000000000000000000000002','00000000000000000000000000000050'),
('00000000000000000000000000000002','00000000000000000000000000000051'),
('00000000000000000000000000000002','00000000000000000000000000000052'),
('00000000000000000000000000000002','00000000000000000000000000000053'),
('00000000000000000000000000000002','00000000000000000000000000000054'),
('00000000000000000000000000000002','00000000000000000000000000000055'),
('00000000000000000000000000000002','00000000000000000000000000000056'),
('00000000000000000000000000000002','00000000000000000000000000000057'),
('00000000000000000000000000000002','00000000000000000000000000000058'),
('00000000000000000000000000000002','00000000000000000000000000000059'),
('00000000000000000000000000000002','00000000000000000000000000000060'),
('00000000000000000000000000000002','00000000000000000000000000000061'),
('00000000000000000000000000000002','00000000000000000000000000000062'),
('00000000000000000000000000000002','00000000000000000000000000000063'),
('00000000000000000000000000000002','00000000000000000000000000000064'),
('00000000000000000000000000000003','00000000000000000000000000000001'),
('00000000000000000000000000000003','00000000000000000000000000000005'),
('00000000000000000000000000000003','00000000000000000000000000000040'),
('00000000000000000000000000000003','00000000000000000000000000000041'),
('00000000000000000000000000000003','00000000000000000000000000000042'),
('00000000000000000000000000000003','00000000000000000000000000000043'),
('00000000000000000000000000000003','00000000000000000000000000000044'),
('00000000000000000000000000000003','00000000000000000000000000000045'),
('00000000000000000000000000000003','00000000000000000000000000000046'),
('00000000000000000000000000000003','00000000000000000000000000000047'),
('00000000000000000000000000000003','00000000000000000000000000000048'),
('00000000000000000000000000000003','00000000000000000000000000000049'),
('00000000000000000000000000000003','00000000000000000000000000000053'),
('00000000000000000000000000000003','00000000000000000000000000000056'),
('00000000000000000000000000000003','00000000000000000000000000000057'),
('00000000000000000000000000000003','00000000000000000000000000000059'),
('00000000000000000000000000000003','00000000000000000000000000000061'),
('00000000000000000000000000000004','00000000000000000000000000000001'),
('00000000000000000000000000000004','00000000000000000000000000000003'),
('00000000000000000000000000000004','00000000000000000000000000000005'),
('00000000000000000000000000000004','00000000000000000000000000000006'),
('00000000000000000000000000000004','00000000000000000000000000000007'),
('00000000000000000000000000000004','00000000000000000000000000000008'),
('00000000000000000000000000000004','00000000000000000000000000000009'),
('00000000000000000000000000000004','00000000000000000000000000000011'),
('00000000000000000000000000000004','00000000000000000000000000000013'),
('00000000000000000000000000000004','00000000000000000000000000000014'),
('00000000000000000000000000000004','00000000000000000000000000000015'),
('00000000000000000000000000000004','00000000000000000000000000000016'),
('00000000000000000000000000000004','00000000000000000000000000000017'),
('00000000000000000000000000000004','00000000000000000000000000000018'),
('00000000000000000000000000000004','00000000000000000000000000000019'),
('00000000000000000000000000000004','00000000000000000000000000000020'),
('00000000000000000000000000000004','00000000000000000000000000000021'),
('00000000000000000000000000000004','00000000000000000000000000000022'),
('00000000000000000000000000000004','00000000000000000000000000000023'),
('00000000000000000000000000000004','00000000000000000000000000000024'),
('00000000000000000000000000000004','00000000000000000000000000000025'),
('00000000000000000000000000000004','00000000000000000000000000000026'),
('00000000000000000000000000000004','00000000000000000000000000000027'),
('00000000000000000000000000000004','00000000000000000000000000000028'),
('00000000000000000000000000000004','00000000000000000000000000000029'),
('00000000000000000000000000000004','00000000000000000000000000000030'),
('00000000000000000000000000000004','00000000000000000000000000000031'),
('00000000000000000000000000000004','00000000000000000000000000000032'),
('00000000000000000000000000000004','00000000000000000000000000000033'),
('00000000000000000000000000000004','00000000000000000000000000000034'),
('00000000000000000000000000000004','00000000000000000000000000000035'),
('00000000000000000000000000000004','00000000000000000000000000000036'),
('00000000000000000000000000000004','00000000000000000000000000000037'),
('00000000000000000000000000000004','00000000000000000000000000000038'),
('00000000000000000000000000000004','00000000000000000000000000000039'),
('00000000000000000000000000000004','00000000000000000000000000000040'),
('00000000000000000000000000000004','00000000000000000000000000000041'),
('00000000000000000000000000000004','00000000000000000000000000000042'),
('00000000000000000000000000000004','00000000000000000000000000000043'),
('00000000000000000000000000000004','00000000000000000000000000000044'),
('00000000000000000000000000000004','00000000000000000000000000000045'),
('00000000000000000000000000000004','00000000000000000000000000000046'),
('00000000000000000000000000000004','00000000000000000000000000000047'),
('00000000000000000000000000000004','00000000000000000000000000000048'),
('00000000000000000000000000000004','00000000000000000000000000000049'),
('00000000000000000000000000000004','00000000000000000000000000000050'),
('00000000000000000000000000000004','00000000000000000000000000000051'),
('00000000000000000000000000000004','00000000000000000000000000000052'),
('00000000000000000000000000000004','00000000000000000000000000000053'),
('00000000000000000000000000000004','00000000000000000000000000000054'),
('00000000000000000000000000000004','00000000000000000000000000000055'),
('00000000000000000000000000000004','00000000000000000000000000000056'),
('00000000000000000000000000000004','00000000000000000000000000000057'),
('00000000000000000000000000000004','00000000000000000000000000000058'),
('00000000000000000000000000000004','00000000000000000000000000000059'),
('00000000000000000000000000000004','00000000000000000000000000000060'),
('00000000000000000000000000000004','00000000000000000000000000000061'),
('00000000000000000000000000000004','00000000000000000000000000000062'),
('00000000000000000000000000000004','00000000000000000000000000000063');

INSERT INTO `RBAC_SYSTEMS` VALUES ('00000000000000000000000000000001','RBAC','2007-07-31 19:10:22','2007-08-03 12:24:36',1),('00000000000000000000000000000002','PROCESSMAKER','2007-07-31 19:10:22','2007-08-03 12:24:36',1);
INSERT INTO `RBAC_USERS` VALUES ('00000000000000000000000000000001','admin','21232f297a57a5a743894a0e4a801fc3','Administrator','','admin@processmaker.com','2020-01-01','2007-08-03 12:24:36','2008-02-13 07:24:07',1,'MYSQL','00000000000000000000000000000000','','');
INSERT INTO `RBAC_USERS_ROLES` VALUES ('00000000000000000000000000000001','00000000000000000000000000000002');
