Skip to content

Commit

Permalink
back in with name
Browse files Browse the repository at this point in the history
  • Loading branch information
meirish committed Jan 25, 2019
1 parent 62ff7fa commit 5fde83d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vault/policy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,13 @@ path "sys/capabilities-self" {
capabilities = ["update"]
}
# Allow a token to look up its own entity by id
# Allow a token to look up its own entity by id or name
path "identity/entity/id/{{identity.entity.id}}" {
capabilities = ["read"]
}
path "identity/entity/name/{{identity.entity.name}}" {
capabilities = ["read"]
}
# Allow a token to look up its resultant ACL from all policies. This is useful
Expand Down

0 comments on commit 5fde83d

Please sign in to comment.