kolibri/core/auth/permissions/base.py
def _permissions_from_all(self, user, obj, method_name):
        """
        Private helper method to do the corresponding method calls on children permissions instances,
        and fail as soon as one of them fails, or succeed if all of them succeed.
        """
        for perm in self.perms:
            if not getattr(perm, method_name)(user, obj):
                return False
        return True

        Private helper method to do the corresponding method calls on children permissions instances,
        and fail as soon as one of them fails, or succeed if all of them succeed.
        
Private helper method to do the corresponding method calls on children permissions instances,
and fail as soon as one of them fails, or succeed if all of them succeed.
Private helper method to do the corresponding method calls on children permissions instances and fail as soon as one of them fails or succeed if all of them succeed .
def _permissions_from_all(self, user, obj, method_name):
        for perm in self.perms:
            if not getattr(perm, method_name)(user, obj):
                return False
        return True
def _permissions_from_all ( self , user , obj , method_name ) : for perm in self . perms : if not getattr ( perm , method_name ) ( user , obj ) : return False return True
Private helper method to do the corresponding method calls on children permissions instances,
and fail as soon as one of them fails, or succeed if all of them succeed.
Private helper method to do the corresponding method calls on children permissions instances and fail as soon as one of them fails or succeed if all of them succeed .
"""
        Private helper method to do the corresponding method calls on children permissions instances,
        and fail as soon as one of them fails, or succeed if all of them succeed.
        """
self
user
obj
method_name