Remove enforces for getters
This commit is contained in:
parent
e244163bdb
commit
e8bad80e59
7 changed files with 7 additions and 13 deletions
|
|
@ -119,7 +119,6 @@ async function getById(context, id) {
|
|||
}
|
||||
|
||||
async function getChildrenTx(tx, context, id) {
|
||||
await shares.enforceEntityPermissionTx(tx, context, 'namespace', id, 'view');
|
||||
|
||||
const entityType = entitySettings.getEntityType('namespace');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue