correct
This commit is contained in:
parent
a2dca94dca
commit
0940b63961
@ -216,7 +216,7 @@ func (a *workflowMongoAccessor) verifyResource(obj utils.DBObject) utils.DBObjec
|
|||||||
} else {
|
} else {
|
||||||
wf.Graph.Clear(item.Data.GetID())
|
wf.Graph.Clear(item.Data.GetID())
|
||||||
}
|
}
|
||||||
if error := utils.VerifyAccess(access, resource.GetID()); error != nil {
|
if error := utils.VerifyAccess(access, resource.GetID()); wf.Graph != nil && error != nil {
|
||||||
wf.Graph.Clear(item.Data.GetID())
|
wf.Graph.Clear(item.Data.GetID())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user