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";
|
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)
|
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":{
|
"scopes":{
|
||||||
"summary": {
|
"summary": {
|
||||||
"fields": [
|
"fields": [
|
||||||
[
|
|
||||||
"id",
|
"id",
|
||||||
"firstName",
|
"firstName",
|
||||||
"lastName",
|
"lastName",
|
||||||
|
@ -112,8 +111,7 @@
|
||||||
"birth",
|
"birth",
|
||||||
"isF11Allowed"
|
"isF11Allowed"
|
||||||
]
|
]
|
||||||
|
,
|
||||||
],
|
|
||||||
"include": [
|
"include": [
|
||||||
{
|
{
|
||||||
"relation": "user",
|
"relation": "user",
|
||||||
|
|
Loading…
Reference in New Issue