diff options
Diffstat (limited to 'base/src/permission.rs')
-rw-r--r-- | base/src/permission.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/base/src/permission.rs b/base/src/permission.rs index 55d0870..7914f0b 100644 --- a/base/src/permission.rs +++ b/base/src/permission.rs @@ -3,7 +3,6 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin <metamuffin.org> */ -use crate::CONF; use anyhow::anyhow; use jellycommon::{ user::{PermissionSet, UserPermission}, @@ -22,7 +21,7 @@ impl PermissionSetExt for PermissionSet { fn check_explicit(&self, perm: &UserPermission) -> Option<bool> { self.0 .get(perm) - .or(CONF.default_permission_set.0.get(perm)) + // .or(CONF.default_permission_set.0.get(perm)) .copied() } fn assert(&self, perm: &UserPermission) -> Result<(), anyhow::Error> { |