feat(TALE-29): handle no ACL configurations being available

This commit is contained in:
Aarnav Tale 2024-08-04 17:30:41 -04:00
parent 224cbbdcaf
commit b8999161a2
No known key found for this signature in database
3 changed files with 82 additions and 11 deletions

View file

@ -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