-
- Downloads
Groups Claims (#301)
The current implementation does not take into account the standard `groups` claim when matching on the resource. This PR add the ability to add an additional field `--groups=list,of,groups` to the resource. Note unlike the roles which are applied with an AND operation a user simply has to exist in one of the groups specified.
Showing
- CHANGELOG.md 6 additions, 0 deletionsCHANGELOG.md
- README.md 26 additions, 0 deletionsREADME.md
- doc.go 18 additions, 13 deletionsdoc.go
- middleware.go 22 additions, 11 deletionsmiddleware.go
- middleware_test.go 116 additions, 0 deletionsmiddleware_test.go
- resource.go 2 additions, 0 deletionsresource.go
- resource_test.go 8 additions, 0 deletionsresource_test.go
- server_test.go 5 additions, 0 deletionsserver_test.go
- user_context.go 22 additions, 13 deletionsuser_context.go
- utils.go 20 additions, 6 deletionsutils.go
- utils_test.go 76 additions, 17 deletionsutils_test.go
Loading
Please register or sign in to comment