diff --git a/graph/check.go b/graph/check.go index e175b81..c943d69 100644 --- a/graph/check.go +++ b/graph/check.go @@ -106,6 +106,8 @@ func (c *Checker) checkRelation(params *relation) (checkStatus, error) { } switch { + case step.IsDirect(): + req.SubjectId = params.sid.String() case step.IsWildcard(): req.SubjectId = "*" case step.IsSubject():