Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ IsGuest
Method
IsGuest
internal/model/user.go:74–76 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
72
}
73
74
func
(u *User) IsGuest() bool {
75
return
u.Role == GUEST
76
}
77
78
func
(u *User) IsAdmin() bool {
79
return
u.Role == ADMIN
Callers
15
CreateUser
Function · 0.95
DeleteUserById
Function · 0.80
UpdateUser
Function · 0.80
DelUserCache
Function · 0.80
WebDAVAuth
Function · 0.80
AuthNotGuest
Function · 0.80
callFSLink
Method · 0.80
callFSGet
Method · 0.80
callFSList
Method · 0.80
FsArchiveMetaSplit
Function · 0.80
FsArchiveListSplit
Function · 0.80
AddMyPublicKey
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected