adding inputs output struct based on argo naming for now
This commit is contained in:
parent
64bea2a66e
commit
2662709fed
@ -91,8 +91,9 @@ func (ao *Workflow) VerifyAuth(request *tools.APIRequest) bool {
|
|||||||
shared, code, _ := shallow_collaborative_area.NewAccessor(request).LoadOne(shared)
|
shared, code, _ := shallow_collaborative_area.NewAccessor(request).LoadOne(shared)
|
||||||
if code != 200 || shared == nil {
|
if code != 200 || shared == nil {
|
||||||
isAuthorized = false
|
isAuthorized = false
|
||||||
|
} else {
|
||||||
|
isAuthorized = shared.VerifyAuth(request)
|
||||||
}
|
}
|
||||||
isAuthorized = shared.VerifyAuth(request)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ao.AbstractObject.VerifyAuth(request) || isAuthorized
|
return ao.AbstractObject.VerifyAuth(request) || isAuthorized
|
||||||
|
Loading…
Reference in New Issue
Block a user