This commit is contained in:
parent
0219fa105e
commit
200cbd8d74
|
@ -1,4 +1,4 @@
|
|||
UPDATE salix.ACL SET principalId = "hr" WHERE property IN ('find','findById','findOne') AND model = "Worker";
|
||||
|
||||
INSERT INTO salix.ACL (model, property, accessType, permission, principalType, principalId)
|
||||
VALUES ('Worker', 'summary', 'READ', 'ALLOW', 'ROLE', 'employee');
|
||||
VALUES ('Worker', '__get__summary', 'READ', 'ALLOW', 'ROLE', 'employee');
|
|
@ -96,7 +96,6 @@
|
|||
"scopes":{
|
||||
"summary": {
|
||||
"fields": [
|
||||
[
|
||||
"id",
|
||||
"firstName",
|
||||
"lastName",
|
||||
|
@ -112,8 +111,7 @@
|
|||
"birth",
|
||||
"isF11Allowed"
|
||||
]
|
||||
|
||||
],
|
||||
,
|
||||
"include": [
|
||||
{
|
||||
"relation": "user",
|
||||
|
|
Loading…
Reference in New Issue