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

Functionality to map home directory to different storage providers #1186

Merged
merged 5 commits into from
Jan 29, 2021

Conversation

ishank011
Copy link
Contributor

Functionality to map home directory to different storage providers

cs3org/reva#1142 added a parameter in reva that allows us to redirect /home requests to different storage providers based on a mapping derived from the user attributes, which was previously not possible since we hardcode the /home path for all users. This PR adds the config for that parameter.

Copy link
Member

@butonic butonic left a comment

Choose a reason for hiding this comment

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

Cool, I love this! AFAICT it might allows us to dynamically register a storage provider for every user and use the userid in the home path.

Just update the usage with an example of what the value could look like so admins get an idea of what they can put there.

The failing UI test is somthing @kulmann or @LukasHirt might have an idea about.

storage/pkg/flagset/gateway.go Outdated Show resolved Hide resolved
@ishank011
Copy link
Contributor Author

Thanks for the review @butonic! Added the example

@labkode
Copy link
Contributor

labkode commented Jan 8, 2021

@butonic can we get this in?

@ishank011
Copy link
Contributor Author

@butonic can you take a look?

@sonarcloud
Copy link

sonarcloud bot commented Jan 29, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@butonic butonic merged commit 91b4158 into owncloud:master Jan 29, 2021
ownclouders pushed a commit that referenced this pull request Jan 29, 2021
Merge: b7f02b0 a4480ed
Author: Jörn Friedrich Dreyer <jfd@butonic.de>
Date:   Fri Jan 29 20:16:34 2021 +0100

    Merge pull request #1186 from ishank011/home_mapping

    Functionality to map home directory to different storage providers
@ishank011 ishank011 deleted the home_mapping branch January 30, 2021 19:25
@micbar micbar mentioned this pull request Feb 17, 2021
16 tasks
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