Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanRemove
Function
CanRemove
internal/model/user.go:159–161 ·
view source on GitHub ↗
(permission int32)
Source
from the content-addressed store, hash-verified
157
}
158
159
func
CanRemove(permission int32) bool {
160
return
(permission>>7)&1 == 1
161
}
162
163
func
(u *User) CanRemove() bool {
164
return
CanRemove(u.Permission)
Callers
1
CanRemove
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected