MCPcopy
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

getProjectRoleMethod · 0.95
addMethod · 0.80
copyMethod · 0.80
listMethod · 0.80
delMethod · 0.80
addMethod · 0.80
changePasswordMethod · 0.80
findByIdMethod · 0.80
delMethod · 0.80
updateMethod · 0.80
getMockDateListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected