Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bistutu/FluentRead
/ userRoleFactory
Function
userRoleFactory
entrypoints/utils/model.ts:112–116 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
110
111
// 构建所有服务的 user_role
112
function
userRoleFactory(): IMapping {
113
let
users_role: IMapping = {};
114
Object.keys(services).forEach(key => users_role[key] = defaultOption.user_role);
115
return
users_role;
116
}
Callers
1
constructor
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected