mirror of
https://github.com/tale/headplane.git
synced 2026-08-17 16:47:51 +00:00
feat(TALE-29): handle no ACL configurations being available
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user