forked from administration/panel
chore: edit ACLs
parent
47ca07984f
commit
b6e96a32c9
|
@ -146,7 +146,11 @@ const Roles = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const ACL: Record<string, Set<Permission>> = {
|
const ACL: Record<string, Set<Permission>> = {
|
||||||
"insert@revolt.chat": new Set([...Roles["moderator"]] as Permission[]),
|
"insert@revolt.chat": new Set([
|
||||||
|
...Roles["moderator"],
|
||||||
|
...Roles["revolt-discover"],
|
||||||
|
...Roles["user-support"],
|
||||||
|
] as Permission[]),
|
||||||
};
|
};
|
||||||
|
|
||||||
function hasPermission(email: string, permission: Permission) {
|
function hasPermission(email: string, permission: Permission) {
|
||||||
|
|
Loading…
Reference in New Issue