sql changes moved to correct folder

This commit is contained in:
Carlos Jimenez Ruiz 2021-03-01 13:07:23 +01:00
parent 0299becbfa
commit bebaef7879
5 changed files with 22 additions and 2 deletions

View File

@ -11,5 +11,13 @@
"type": "string",
"id": true
}
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}

View File

@ -31,5 +31,13 @@
"model": "Module",
"foreignKey": "moduleFk"
}
}
},
"acls": [
{
"accessType": "READ",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "ALLOW"
}
]
}

View File

@ -0,0 +1,4 @@
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
VALUES
('module', '*', '*', 'ALLOW', 'ROLE', 'employee'),
('starredModule', '*', '*', 'ALLOW', 'ROLE', 'employee');