def verify_object_permission(self, name):
        object_hrn = self.object_gid.get_hrn()
        if object_hrn == name:
            return
        if name.startswith(object_hrn + "."):
            return
        #if name.startswith(get_authority(name)):
            #return
    
        raise PermissionError(name)
Verify that the object gid that was specified in the credential
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/sfa/trust/auth.py/Auth.verify_object_permission