From 81d73d434f594830b53d0e32a0066ddc7e2c218c Mon Sep 17 00:00:00 2001 From: yackob03 Date: Fri, 20 Sep 2013 18:43:43 -0400 Subject: [PATCH] Add missing read need from read repo permission. --- permissions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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):