(self, request)
return bool(get_user_permissions(request.user, request.app))
是否拥有任意本公众号管理权限
是否拥有任意本公众号管理权限
是否拥有任意本公众号管理权限
def has_module_permission(self, request):
        """是否拥有任意本公众号管理权限"""
        if not hasattr(request, "app"):
            return False
        return bool(get_user_permissions(request.user, request.app))
def has_module_permission ( self , request ) : if not hasattr ( request , "app" ) : return False return bool ( get_user_permissions ( request . user , request . app ) )