From a2ef3f6ec4c830611fde1a2e935588ccbbc61c03 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 30 Apr 2025 10:47:54 +0200 Subject: config works --- base/src/permission.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'base/src/permission.rs') 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 */ -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 { 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> { -- cgit v1.2.3-70-g09d2