diff --git a/permissions.py b/permissions.py index 0b678ceb1..24733d7b2 100644 --- a/permissions.py +++ b/permissions.py @@ -27,7 +27,8 @@ class ReadRepositoryPermission(Permission): admin_need = _RepositoryNeed(namespace, name, 'admin') write_need = _RepositoryNeed(namespace, name, 'write') read_need = _RepositoryNeed(namespace, name, 'read') - super(ReadRepositoryPermission, self).__init__(admin_need, write_need) + super(ReadRepositoryPermission, self).__init__(admin_need, write_need, + read_need) class UserPermission(Permission):