diff --git a/gui/IrodsDataBundle.py b/gui/IrodsDataBundle.py index 3db56a1e..d5fed9d7 100644 --- a/gui/IrodsDataBundle.py +++ b/gui/IrodsDataBundle.py @@ -129,10 +129,9 @@ def disable_buttons(self): self.extractButton.setEnabled(False) def _operation_allowed(self, item, user): - acls = self.conn.permission.get_permissions(item) + acls = self.conn.permission.get_permissions(obj=item) accepted_users = [acl.user_name for acl in acls - if acl.access_name in ['write', 'own']] - + if acl.access_name in ['own']] return user in accepted_users def create_data_bundle(self):