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

Feature Request: Allow unknown users while configuring others #216

Open
half-duplex opened this issue Jan 22, 2025 · 0 comments
Open

Feature Request: Allow unknown users while configuring others #216

half-duplex opened this issue Jan 22, 2025 · 0 comments

Comments

@half-duplex
Copy link

I'm enjoying using this webdav service behind nginx, with nginx enforcing http basic auth.

I would like to expose a directory to all users who have successfully authenticated to nginx, but grant certain users more permissions or show them a different directory.

Current options are:

  • Treat all users the same by configuring permissions, directory, etc in the top level of the config and leave users: empty (doesn't accomplish my goal)
  • Explicitly configure every user in users (annoying to maintain)
  • Run multiple instances of the webdav service and instruct "special" users to access a different domain or path to be routed to it (annoying to set up)

The most obvious way to implement this would be to allow allowUnknownUsers: true as a top-level config option, which would use users.<username> if present, or the top-level defaults otherwise.

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