5488-use_checkAccessAcl #1482
|
@ -11,7 +11,6 @@ INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `pri
|
||||||
('State', 'editableStates', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
('State', 'editableStates', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
('State', 'seeEditableStates', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
('State', 'seeEditableStates', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||||
('State', 'seeEditableStates', 'READ', 'ALLOW', 'ROLE', 'production'),
|
('State', 'seeEditableStates', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
('State', 'seeFilteredEditableStates', 'READ', 'ALLOW', 'ROLE', 'salesPerson'),
|
|
||||||
('State', 'isSomeEditable', 'READ', 'ALLOW', 'ROLE', 'salesPerson'),
|
('State', 'isSomeEditable', 'READ', 'ALLOW', 'ROLE', 'salesPerson'),
|
||||||
('State', 'isAllEditable', 'READ', 'ALLOW', 'ROLE', 'production'),
|
('State', 'isAllEditable', 'READ', 'ALLOW', 'ROLE', 'production'),
|
||||||
('State', 'isAllEditable', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
('State', 'isAllEditable', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||||
|
@ -115,3 +114,8 @@ INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `pri
|
||||||
('Worker', 'holidays', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
('Worker', 'holidays', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
('Worker', 'activeContract', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
('Worker', 'activeContract', 'READ', 'ALLOW', 'ROLE', 'employee'),
|
||||||
('Worker', 'activeWithInheritedRole', 'READ', 'ALLOW', 'ROLE', 'employee');
|
('Worker', 'activeWithInheritedRole', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||||
|
|
||||||
|
DELETE FROM `salix`.`ACL`
|
||||||
|
WHERE model = 'Client'
|
||||||
|
AND property = 'updateUser'
|
||||||
|
AND accessType = '*';
|
||||||
|
|
Loading…
Reference in New Issue