sql changes moved to correct folder
This commit is contained in:
parent
0299becbfa
commit
bebaef7879
|
@ -11,5 +11,13 @@
|
|||
"type": "string",
|
||||
"id": true
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
{
|
||||
"accessType": "READ",
|
||||
"principalType": "ROLE",
|
||||
"principalId": "$everyone",
|
||||
"permission": "ALLOW"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -31,5 +31,13 @@
|
|||
"model": "Module",
|
||||
"foreignKey": "moduleFk"
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
{
|
||||
"accessType": "READ",
|
||||
"principalType": "ROLE",
|
||||
"principalId": "$everyone",
|
||||
"permission": "ALLOW"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
||||
VALUES
|
||||
('module', '*', '*', 'ALLOW', 'ROLE', 'employee'),
|
||||
('starredModule', '*', '*', 'ALLOW', 'ROLE', 'employee');
|
Loading…
Reference in New Issue