Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanAccessWithoutPassword
Method
CanAccessWithoutPassword
internal/model/user.go:115–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
113
}
114
115
func
(u *User) CanAccessWithoutPassword() bool {
116
return
CanAccessWithoutPassword(u.Permission)
117
}
118
119
func
CanAddOfflineDownloadTasks(permission int32) bool {
120
return
(permission>>2)&1 == 1
Callers
1
CanAccess
Function · 0.80
Calls
1
CanAccessWithoutPassword
Function · 0.85
Tested by
no test coverage detected