Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in memory user provider #2781

Merged
merged 4 commits into from
Apr 27, 2022
Merged

in memory user provider #2781

merged 4 commits into from
Apr 27, 2022

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Apr 25, 2022

We added an in memory implementation for the user provider that reads the users from the mapstructure passed in.

We will use it to configure a second minimal gateway with a single system user for the metadata storage to keep it completely independent of the normal users.

See owncloud/ocis#3343

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic requested review from labkode, ishank011, glpatcern and a team as code owners April 25, 2022 15:02
@butonic butonic requested a review from rhafer April 25, 2022 15:10
Copy link
Contributor

@rhafer rhafer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me overall. I just wonder, didn't we agree to just use the a separate instance of the machine auth provider for auth. That way we would just need the new userprovider. I might be mixing things up though.

pkg/auth/manager/memory/memory.go Outdated Show resolved Hide resolved
pkg/auth/manager/memory/memory.go Outdated Show resolved Hide resolved
butonic added 2 commits April 27, 2022 14:18
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic changed the title in memory user and auth provider in memory user provider Apr 27, 2022
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Copy link
Contributor

@C0rby C0rby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants