forked from administration/panel
chore: mod perms
parent
78ce9f96d7
commit
e498e9d261
|
@ -264,7 +264,11 @@ const ACL: Record<string, Set<Permission>> = {
|
||||||
...Roles["revolt-discover"],
|
...Roles["revolt-discover"],
|
||||||
...Roles["user-support"],
|
...Roles["user-support"],
|
||||||
] as Permission[]),
|
] as Permission[]),
|
||||||
"vale@revolt.chat": new Set([...Roles["revolt-discover"]] as Permission[]),
|
"vale@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