Henrique Dias
883a36f02f
fix(auth): reject signup when normalized home dir collides (GHSA-7rc3-g7h6-22m7)
...
cleanUsername is many-to-one, so distinct usernames (e.g. "teamone/x" and
"teamone-x") can normalize to the same home directory. With CreateUserDir
enabled, the second registrant silently reused the first user's directory,
breaking per-user isolation. Add a GetByScope lookup and reject a signup whose
derived scope is already taken. The check is gated on CreateUserDir: when it is
off, signups intentionally share the configured default scope. Adds a regression
test for the colliding-username case.
2026-06-27 09:08:56 +02:00
Ariel Leyva
f04af0cac6
fix: allow deleting the user's own account ( #5820 )
2026-03-11 19:36:05 +01:00
Henrique Dias
f029c3005e
refactor: cleanup package names ( #5605 )
2025-12-06 10:52:11 +01:00
Oleg Lobanov
ae0af1f996
chore: fix golangci-lint errors
2024-04-01 18:24:06 +02:00
Oleg Lobanov
d94acdd89a
fix: use correct field name in user put api ( #2026 )
2022-07-05 16:55:31 +02:00
Oleg Lobanov
7c9a75e725
build(backend): bump dependency versions
2022-05-04 01:00:42 +04:00
Oleg Lobanov
700f32718e
refactor: add more go linters ( #970 )
2020-06-01 01:12:36 +02:00
1138-4EB
b660404bfe
reduce code duplication
...
Former-commit-id: fa4946eff4f979e8fd3550a0b11f3ab147177b8f [formerly cd071c220157452a095325c049d801e99d2f8a94] [formerly 7a619be88fb162ddbf897387a31577fd3e94bfec [formerly ef56112711 ]]
Former-commit-id: 692897eac98f1d8d4a916d0ef0aa342b994a186b [formerly 69d9f127de2deadbbcaa0174fc1a4613ce2cb93d]
Former-commit-id: 49c5aef77aa74ec8352368627c98b9e50d417228
2019-01-08 16:19:17 +01:00
Henrique Dias
12b2c21522
feat: v2 ( #599 )
...
Read https://github.com/filebrowser/filebrowser/pull/575 .
Former-commit-id: 7aedcaaf72b863033e3f089d6df308d41a3fd00c [formerly bdbe4d49161b901c4adf9c245895a1be2d62e4a7] [formerly acfc1ec67c423e0b3e065a8c1f8897c5249af65b [formerly d309066def ]]
Former-commit-id: 0c7d925a38a68ccabdf2c4bbd8c302ee89b93509 [formerly a6173925a1382955d93b334ded93f70d6dddd694]
Former-commit-id: e032e0804dd051df86f42962de2b39caec5318b7
2019-01-05 22:44:33 +00:00