mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
chore(permission): admin enables webdav read-only by default (#726)
chore: admin enables webdav read-only by default
This commit is contained in:
@ -33,7 +33,7 @@ func initUser() {
|
||||
BasePath: "/",
|
||||
Authn: "[]",
|
||||
// 0(can see hidden) - 7(can remove) & 12(can read archives) - 13(can decompress archives)
|
||||
Permission: 0x30FF,
|
||||
Permission: 0x31FF,
|
||||
}
|
||||
if err := op.CreateUser(admin); err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user