Skip to content

Commit

Permalink
add tasklist to auth attributes (#4288)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolodezny authored Jul 1, 2021
1 parent 94b2405 commit 70f3f58
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion common/authorization/authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@

package authorization

import "context"
import (
"context"

"github.com/uber/cadence/common/types"
)

const (
// DecisionDeny means auth decision is deny
Expand All @@ -38,6 +42,7 @@ type (
Actor string
APIName string
DomainName string
TaskList *types.TaskList
}

// Result is result from authority.
Expand Down

0 comments on commit 70f3f58

Please sign in to comment.