feat: refs #7119 add delivery role permissions
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
e343e457ee
commit
55a0a5bc9a
|
@ -1,10 +1,17 @@
|
|||
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
||||
VALUES ('Vehicle', 'filter', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('Vehicle', 'filter', 'READ', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('Vehicle', 'find', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('Vehicle', 'find', 'READ', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('Vehicle', 'findById', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('Vehicle', 'updateAttributes', 'WRITE', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('Vehicle', 'updateAttributes', 'WRITE', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('BankPolicy', 'find', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('VehicleState', 'find', 'READ', 'ALLOW', 'ROLE', 'administrative' ),
|
||||
('BankPolicy', 'find', 'READ', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('VehicleState', 'find', 'READ', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('VehicleState', 'find', 'READ', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('Ppe', 'find', 'READ', 'ALLOW', 'ROLE', 'administrative' ),
|
||||
('Ppe', 'find', 'READ', 'ALLOW', 'ROLE', 'delivery' ),
|
||||
('Vehicle', 'deleteById', 'WRITE', 'ALLOW', 'ROLE', 'administrative'),
|
||||
('Vehicle', 'deleteById', 'WRITE', 'ALLOW', 'ROLE', 'delivery'),
|
||||
('Vehicle', '__get__active', 'READ', 'ALLOW', 'ROLE', 'employee');
|
Loading…
Reference in New Issue