From: Anil-Kumar Vengalil Date: Wed, 23 Sep 2009 15:21:44 +0000 (+0000) Subject: these two lines, if enabled, allow a credential to operate on all target hrn. tony... X-Git-Tag: sfa-0.9-3~48 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d9a95db9a2f6172e026acb20f440e0a02363143a;p=sfa.git these two lines, if enabled, allow a credential to operate on all target hrn. tony may pls. review this --- diff --git a/sfa/trust/auth.py b/sfa/trust/auth.py index 923bed4b..298d0329 100644 --- a/sfa/trust/auth.py +++ b/sfa/trust/auth.py @@ -123,8 +123,8 @@ class Auth: return if name.startswith(object_hrn + "."): return - if name.startswith(get_authority(name)): - return + #if name.startswith(get_authority(name)): + #return raise PermissionError(name)