From 06aad91d52b4824fabf78ccd4cb553252df86a81 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 20 Mar 2026 13:33:25 +0800 Subject: [PATCH] bugfix --- rbac/userperm.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rbac/userperm.py b/rbac/userperm.py index fa204db..04764b4 100644 --- a/rbac/userperm.py +++ b/rbac/userperm.py @@ -53,7 +53,6 @@ where a.id = c.userid paths = [ u.path for u in ups ] cup = CacheUP(userid, paths) self.cups[userid] = cup - self.cups[userid] = CacheUp(userid, []) usercnt = len([u for u in self.cups.keys()]) if usercnt > self.max_cache_user: