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

Multiuser/scope support is missing in the new webdav addon #15

Open
delight opened this issue Nov 4, 2020 · 1 comment
Open

Multiuser/scope support is missing in the new webdav addon #15

delight opened this issue Nov 4, 2020 · 1 comment

Comments

@delight
Copy link

delight commented Nov 4, 2020

Scopes as provided by the webdav "predecessor" addon in caddy 1.0.4 is not available in caddy 2 (2.2.1)

I used the following config in caddy 1.0.4 which worked just as wanted. Couldn't get similar mult user access functionality in caddy 2 and the new webdav addon.

webdav.somedomain.duckdns.org {
	basicauth / super userpwd
	basicauth / user2 userpwd
	basicauth / user3 userpwd
	basicauth / user4 userpwd
	webdav {
		super:
		scope /home/DATA/webdav
		user2:
		scope /home/DATA/webdav/.user2
		user3:
		scope /home/DATA/webdav/.user3
		user4:
		scope /home/DATA/webdav/.user3
	}
	log /etc/caddy/access-webdav.log
}
@delight delight changed the title Need some howto help as I can't figure - hopefully this solves usage questions of others too Need some hint - hopefully this solves usage questions of others too Nov 5, 2020
@delight delight changed the title Need some hint - hopefully this solves usage questions of others too Need some hint on authentification and authorization in connection with the webdav adddon Nov 6, 2020
@delight
Copy link
Author

delight commented Nov 6, 2020

For anyone interested the following works for a single user with basicauth

webdav.somedomain.duckdns.org {
    basicauth {
        super JDJhJDEwJEVCNmdaNEg2Ti5iejRMYkF3MFZhZ3VtV3E1SzBWZEZ5Q3VWc0tzOEJwZE9TaFlZdEVkZDhX
    }
    webdav {
        root /home/DATA/webdav
    }
}

@delight delight changed the title Need some hint on authentification and authorization in connection with the webdav adddon Support for scopes similar to what was possible in the predecessor addon Nov 9, 2020
@delight delight changed the title Support for scopes similar to what was possible in the predecessor addon Multiuser/scope support is missing in the new webdav addon Dec 8, 2020
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

No branches or pull requests

1 participant