Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/YMFE/yapi
/ getRole
Method
getRole
server/controllers/base.js:205–207 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
203
}
204
205
getRole() {
206
return
this.$user.role;
207
}
208
209
getUsername() {
210
return
this.$user.username;
Callers
11
getProjectRole
Method · 0.95
add
Method · 0.80
copy
Method · 0.80
list
Method · 0.80
del
Method · 0.80
add
Method · 0.80
changePassword
Method · 0.80
findById
Method · 0.80
del
Method · 0.80
update
Method · 0.80
getMockDateList
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected