1
0
Fork 0

chore: update ACLs

fix-1^2
Paul Makles 2023-08-06 19:47:19 +01:00
parent 0ac3f774f5
commit 7c6cb47bc0
No known key found for this signature in database
GPG Key ID: 5059F398521BB0F6
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ const ACL: Record<string, Set<Permission>> = {
}; };
function hasPermission(email: string, permission: Permission) { function hasPermission(email: string, permission: Permission) {
// if (email === "insert@revolt.chat") return true; if (email === "insert@revolt.chat") return true;
if (!ACL[email]) throw `user is not registered in system: ${email}`; if (!ACL[email]) throw `user is not registered in system: ${email}`;
const segments = permission.split("/"); const segments = permission.split("/");