MCPcopy
hub / github.com/andrewrk/groovebasin / havePerm

Function havePerm

src/client/app.js:4264–4266  ·  view source on GitHub ↗
(permName)

Source from the content-addressed store, hash-verified

4262}
4263
4264function havePerm(permName) {
4265 return !!(myUser && myUser.perms[permName]);
4266}
4267
4268function parseQueryString(s) {
4269 s = s || location.search.substring(1);

Callers 8

app.jsFile · 0.85
onAddToPlaylistListClickFunction · 0.85
onAddToPlaylistNewClickFunction · 0.85
onDeleteContextMenuFunction · 0.85
onEditTagsContextMenuFunction · 0.85
updateSettingsAuthUiFunction · 0.85
updateMenuDisableStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected