feat(TALE-29): handle no ACL configurations being available
This commit is contained in:
parent
224cbbdcaf
commit
b8999161a2
3 changed files with 82 additions and 11 deletions
|
|
@ -105,12 +105,7 @@ export async function loadAcl(): Promise<{
|
|||
}
|
||||
|
||||
if (!path) {
|
||||
return {
|
||||
data: '',
|
||||
type: 'json',
|
||||
read: false,
|
||||
write: false,
|
||||
}
|
||||
throw new Error('No ACL file defined')
|
||||
}
|
||||
|
||||
// Check for attributes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue