mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-04-02 18:32:34 +00:00
fix: 修复 private storage permission
This commit is contained in:
@@ -12,7 +12,7 @@ from common.utils import get_object_or_none
|
||||
from orgs.utils import tmp_to_root_org
|
||||
|
||||
|
||||
class IsValidUser(permissions.IsAuthenticated, permissions.BasePermission):
|
||||
class IsValidUser(permissions.IsAuthenticated):
|
||||
"""Allows access to valid user, is active and not expired"""
|
||||
|
||||
def has_permission(self, request, view):
|
||||
|
||||
Reference in New Issue
Block a user