Skip to content

Commit

Permalink
Add default permissions for reading/listing aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
talanknight committed Mar 25, 2024
1 parent c42a940 commit 4d1f482
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/cmd/base/initial_resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (b *Server) CreateInitialAuthenticatedUserRole(ctx context.Context, opt ...
"ids=*;type=auth-token;actions=list",
"ids={{.Account.Id}};actions=read,change-password",
"ids=*;type=session;actions=list,read:self,cancel:self",
"ids=*;type=alias;actions=list,read",
}
opts := GetOpts(opt...)
if opts.withAuthUserTargetAuthorizeSessionGrant {
Expand Down

0 comments on commit 4d1f482

Please sign in to comment.