alist/server
千石 91cc7529a0
feat(user/role/storage): enhance user and storage operations with additional validations (#9223)
- Update `CreateUser` to adjust `BasePath` based on user roles and clean paths.
- Modify `UpdateUser` to incorporate role-based path changes.
- Add validation in `CreateStorage` and `UpdateStorage` to prevent root mount path.
- Prevent changes to admin user's role and username in user handler.
- Update `UpdateRole` to modify user base paths when role paths change, and clear user cache accordingly.
- Import `errors` package to handle error messages.
2025-07-27 22:25:45 +08:00
..
common feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
ftp feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
handles feat(user/role/storage): enhance user and storage operations with additional validations (#9223) 2025-07-27 22:25:45 +08:00
middlewares feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
s3 refactor(net): pass request header (#8031 close #8008) 2025-03-01 18:35:34 +08:00
sftp feat(sftp-server): do not generate host key until first enabled (#7734) 2024-12-30 22:54:37 +08:00
static fix: static page to limit request method (#7745 close #7667) 2024-12-30 22:49:18 +08:00
webdav feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
debug.go fix(archive): use another sign for extraction (#7982) 2025-03-01 18:34:33 +08:00
ftp.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
router.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
s3.go fix(s3): don't bind s3 port if s3 is not enabled (#6291) 2024-04-03 10:09:48 +08:00
sftp.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00
webdav.go feat: enhance permission control and label management (#9215) 2025-07-26 09:51:59 +08:00