Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanSeeHides
Method
CanSeeHides
internal/model/user.go:107–109 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
105
}
106
107
func
(u *User) CanSeeHides() bool {
108
return
CanSeeHides(u.Permission)
109
}
110
111
func
CanAccessWithoutPassword(permission int32) bool {
112
return
(permission>>1)&1 == 1
Callers
2
whetherHide
Function · 0.80
CanAccess
Function · 0.80
Calls
1
CanSeeHides
Function · 0.85
Tested by
no test coverage detected