Skip to content

Conversation

ricoberger
Copy link
Member

kobs now has a proper mechanism for authentication and authorization.
While the authentication of a user should still be handled via an
external application like OAuth2-Proxy, the User CR and Team CR and now
be used to authorize the authenticated user to access several plugins
and resources.

For this a User CR must be defined with the ID which is set by the
OAuth2-Proxy via the user details header. The user will then get all the
permissions from the teams he is a member of. For that the Team CR now
contains a new "permissions" property, where the plugins and resources
which can be accessed by the teams members are specified.

kobs now has a proper mechanism for authentication and authorization.
While the authentication of a user should still be handled via an
external application like OAuth2-Proxy, the User CR and Team CR and now
be used to authorize the authenticated user to access several plugins
and resources.

For this a User CR must be defined with the ID which is set by the
OAuth2-Proxy via the user details header. The user will then get all the
permissions from the teams he is a member of. For that the Team CR now
contains a new "permissions" property, where the plugins and resources
which can be accessed by the teams members are specified.
@ricoberger ricoberger merged commit 3c56037 into main Oct 10, 2021
@ricoberger ricoberger deleted the add-authentication-and-authorization branch October 10, 2021 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant