From 78e76c153ab3f03992ef3b219b1d453a533ee4c5 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 7 May 2012 15:59:44 +0200 Subject: [PATCH] catch up the change to determine_user_rights --- sfa/managers/registry_manager_openstack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfa/managers/registry_manager_openstack.py b/sfa/managers/registry_manager_openstack.py index c940e15f..b5c10fae 100644 --- a/sfa/managers/registry_manager_openstack.py +++ b/sfa/managers/registry_manager_openstack.py @@ -68,7 +68,7 @@ class RegistryManager(RegistryManager): caller_gid = GID(string=caller_record.gid) object_hrn = record.get_gid_object().get_hrn() - rights = api.auth.determine_user_rights(caller_hrn, record.__dict__) + rights = api.auth.determine_user_rights(caller_hrn, record) # make sure caller has rights to this object if rights.is_empty(): raise PermissionError(caller_hrn + " has no rights to " + record.hrn) -- 2.43.0