Skip to content

Commit

Permalink
Add an ExtraData field to Claims struct (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeybykov committed Apr 2, 2021
1 parent f4fffdd commit 30c89b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/authorization/roles.go
Expand Up @@ -53,6 +53,8 @@ type Claims struct {
System Role
// Roles within specific namespaces
Namespaces map[string]Role
// Free form bucket for extra data
Extensions interface{}
}

// @@@SNIPEND

0 comments on commit 30c89b9

Please sign in to comment.