mirror of https://github.com/Xhofe/alist
- 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. |
||
|---|---|---|
| .. | ||
| archive.go | ||
| const.go | ||
| driver.go | ||
| driver_test.go | ||
| fs.go | ||
| hook.go | ||
| label.go | ||
| label_file_binding.go | ||
| meta.go | ||
| path.go | ||
| role.go | ||
| setting.go | ||
| sshkey.go | ||
| storage.go | ||
| storage_test.go | ||
| user.go | ||