Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectList ¶
Types ¶
type Authorizer ¶
type Authorizer interface {
ProjectsAuthorized(ctx context.Context, subjects Subjects, action Action, resource Resource, projects Projects) ([]string, error)
FilterAuthorizedPairs(ctx context.Context, subjects Subjects, pairs []Pair) ([]Pair, error)
FilterAuthorizedProjects(ctx context.Context, subjects Subjects) ([]string, error)
}
type Engine ¶
type Engine interface {
Authorizer
Writer
}
Click to show internal directories.
Click to hide internal directories.