MCPcopy 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
115func (u *User) CanAccessWithoutPassword() bool {
116 return CanAccessWithoutPassword(u.Permission)
117}
118
119func CanAddOfflineDownloadTasks(permission int32) bool {
120 return (permission>>2)&1 == 1

Callers 1

CanAccessFunction · 0.80

Calls 1

CanAccessWithoutPasswordFunction · 0.85

Tested by

no test coverage detected