Remove enforces for getters

This commit is contained in:
joker-x 2020-08-30 12:16:30 +02:00
parent e244163bdb
commit e8bad80e59
7 changed files with 7 additions and 13 deletions

View file

@ -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');