Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanWriteContent
Method
CanWriteContent
internal/model/user.go:131–133 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
129
}
130
131
func
(u *User) CanWriteContent() bool {
132
return
CanWriteContent(u.Permission)
133
}
134
135
func
CanRename(permission int32) bool {
136
return
(permission>>4)&1 == 1
Callers
9
FsUp
Function · 0.80
handlePut
Method · 0.80
handleMkcol
Method · 0.80
callFSList
Method · 0.80
FsMkdir
Function · 0.80
FsList
Function · 0.80
TestWritePermissionCombinations
Function · 0.80
uploadAuth
Function · 0.80
Mkdir
Function · 0.80
Calls
1
CanWriteContent
Function · 0.85
Tested by
1
TestWritePermissionCombinations
Function · 0.64