File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import (
27
27
// support unavailable to the user. Eg: Scope to a single resource.
28
28
type ExpandableRoles interface {
29
29
Expand () ([]Role , error )
30
- // Names is fo logging and tracing purposes, we want to know the human
30
+ // Names is for logging and tracing purposes, we want to know the human
31
31
// names of the expanded roles.
32
32
Names () []string
33
33
}
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ const (
20
20
)
21
21
22
22
// RoleNames is a list of user assignable role names. The role names must be
23
- // in the builtInRoles map.
23
+ // in the builtInRoles map. Any non-user assignable roles will generate an
24
+ // error on Expand.
24
25
type RoleNames []string
25
26
26
27
func (names RoleNames ) Expand () ([]Role , error ) {
You can’t perform that action at this time.
0 commit comments