mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix(api): disable access control
This commit is contained in:
parent
d5acea4abb
commit
dac2af43a2
1 changed files with 2 additions and 0 deletions
|
@ -12,6 +12,8 @@ export const memberPassesAccessControl = (
|
||||||
member: Member,
|
member: Member,
|
||||||
accessControl: GuildAccessControl
|
accessControl: GuildAccessControl
|
||||||
): boolean => {
|
): boolean => {
|
||||||
|
return true;
|
||||||
|
|
||||||
// Root has a bypass
|
// Root has a bypass
|
||||||
if (isRoot(member.user?.id || '')) {
|
if (isRoot(member.user?.id || '')) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue