You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
3.1 KiB
MySQL

2 years ago
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_SYSTEM','SYSTEM:USER:SAVE'),
('ROLE_SYSTEM','SYSTEM:USER:DELETE'),
('ROLE_SYSTEM','SYSTEM:USER:UPDATE'),
('ROLE_SYSTEM','SYSTEM:USER:MODIFY'),
('ROLE_SYSTEM','SYSTEM:USER:LOAD'),
('ROLE_SYSTEM','SYSTEM:USER:PAGE'),
('ROLE_ADMIN','SYSTEM:USER:SAVE'),
('ROLE_ADMIN','SYSTEM:USER:DELETE'),
('ROLE_ADMIN','SYSTEM:USER:UPDATE'),
('ROLE_ADMIN','SYSTEM:USER:MODIFY');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_ADMIN','SYSTEM:USER:LOAD'),
('ROLE_ADMIN','SYSTEM:USER:PAGE'),
('ROLE_MANAGER','SYSTEM:USER:UPDATE'),
('ROLE_MANAGER','SYSTEM:USER:MODIFY'),
('ROLE_MANAGER','SYSTEM:USER:LOAD'),
('ROLE_MANAGER','SYSTEM:USER:PAGE'),
('ROLE_USER','SYSTEM:USER:UPDATE'),
('ROLE_USER','SYSTEM:USER:LOAD'),
('ROLE_SYSTEM','SYSTEM:ROLE:LIST'),
('ROLE_SYSTEM','SYSTEM:AUTH:LIST');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_SYSTEM','SYSTEM:ROLE:PAGE'),
('ROLE_SYSTEM','SYSTEM:ROLE:UPDATE'),
('ROLE_SYSTEM','SYSTEM:DEPT:LIST'),
('ROLE_SYSTEM','SYSTEM:DEPT:LOAD'),
('ROLE_SYSTEM','SYSTEM:AUTH:AUTHORISE'),
('ROLE_SYSTEM','SYSTEM:AUTH:UNAUTHORISE'),
('ROLE_USER','SYSTEM:DEPT:LOAD'),
('ROLE_SYSTEM','SYSTEM:USER:LIST'),
('ROLE_SYSTEM','SYSTEM:DEPT:UPDATE'),
('ROLE_ADMIN','SYSTEM:ROLE:LIST');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_ADMIN','SYSTEM:AUTH:LIST'),
('ROLE_ADMIN','SYSTEM:USER:LIST'),
('ROLE_ADMIN','SYSTEM:DEPT:LIST'),
('ROLE_ADMIN','SYSTEM:DEPT:LOAD'),
('ROLE_ADMIN','SYSTEM:ROLE:PAGE'),
('ROLE_ADMIN','SYSTEM:ROLE:UPDATE'),
('ROLE_USER','SYSTEM:DEPT:LIST'),
('ROLE_MANAGER','SYSTEM:DEPT:LIST'),
('ROLE_MANAGER','SYSTEM:DEPT:LOAD'),
('ROLE_ADMIN','SYSTEM:DEPT:UPDATE');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_MANAGER','SYSTEM:USER:LIST'),
('ROLE_SYSTEM','SYSTEM:MESSAGE:LIST'),
('ROLE_SYSTEM','SYSTEM:MESSAGE:UPDATE'),
('ROLE_SYSTEM','SYSTEM:NOTICE:SAVE'),
('ROLE_SYSTEM','SYSTEM:NOTICE:DELETE'),
('ROLE_SYSTEM','SYSTEM:NOTICE:PAGE'),
('ROLE_ADMIN','SYSTEM:NOTICE:PAGE'),
('ROLE_ADMIN','SYSTEM:NOTICE:PAGE'),
('ROLE_ADMIN','SYSTEM:MESSAGE:LIST'),
('ROLE_ADMIN','SYSTEM:MESSAGE:UPDATE');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_ADMIN','SYSTEM:NOTICE:SAVE'),
('ROLE_ADMIN','SYSTEM:NOTICE:DELETE'),
('ROLE_MANAGER','SYSTEM:MESSAGE:LIST'),
('ROLE_MANAGER','SYSTEM:MESSAGE:UPDATE'),
('ROLE_MANAGER','SYSTEM:NOTICE:PAGE'),
('ROLE_USER','SYSTEM:MESSAGE:LIST'),
('ROLE_USER','SYSTEM:MESSAGE:UPDATE'),
('ROLE_USER','SYSTEM:NOTICE:PAGE'),
('ROLE_USER','SYSTEM:USER:MODIFY'),
('ROLE_SYSTEM','SYSTEM:DEPT:SAVE');
INSERT INTO dev_poms.map_role_auth (role_code,auth_code) VALUES
('ROLE_SYSTEM','SYSTEM:DEPT:DELETE'),
('ROLE_SYSTEM','SYSTEM:POINT:AUDIT'),
('ROLE_ADMIN','SYSTEM:DEPT:SAVE'),
('ROLE_ADMIN','SYSTEM:DEPT:DELETE'),
('ROLE_ADMIN','SYSTEM:POINT:AUDIT'),
('ROLE_SYSTEM','SYSTEM:POINT:SAVE'),
('ROLE_SYSTEM','SYSTEM:POINT:DELETE'),
('ROLE_SYSTEM','SYSTEM:MEETING:SAVE'),
('ROLE_SYSTEM','SYSTEM:MEETING:DELETE'),
('ROLE_SYSTEM','SYSTEM:MEETING:UPDATE');