Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cursor/community-plugins
/ isAdminClient
Function
isAdminClient
apps/cursor/src/utils/admin.ts:22–25 ·
view source on GitHub ↗
(userId: string | null | undefined)
Source
from the content-addressed store, hash-verified
20
}
21
22
export
function
isAdminClient(userId: string | null | undefined): boolean {
23
if
(!userId)
return
false;
24
return
getPublicAdminIds().includes(userId);
25
}
Callers
1
VerifyControls
Function · 0.90
Calls
1
getPublicAdminIds
Function · 0.85
Tested by
no test coverage detected