##// END OF EJS Templates
auth: don't double register the permission in case no inheritance is turned on
marcink -
r2066:107cb959 default
parent child Browse files
Show More
@@ -550,8 +550,7 b' class PermissionCalculator(object):'
550 550 if not user_inherit_object_permissions:
551 551 p = 'repository.none'
552 552 o = PermOrigin.REPO_DEFAULT_NO_INHERIT
553
554 self.permissions_repositories[r_k] = p, o
553 self.permissions_repositories[r_k] = p, o
555 554
556 555 if perm.Repository.private and not (
557 556 perm.Repository.user_id == self.user_id):
General Comments 0
You need to be logged in to leave comments. Login now