MCPcopy Create free account
hub / github.com/BaseXdb/basex / has

Method has

basex-core/src/main/java/org/basex/core/users/User.java:261–263  ·  view source on GitHub ↗

Tests if the user has the specified permission. @param perm permission to be checked @return result of check

(final Perm perm)

Source from the content-addressed store, hash-verified

259 * @return result of check
260 */
261 public synchronized boolean has(final Perm perm) {
262 return has(perm, null);
263 }
264
265 /**
266 * Tests if the user has the specified permission.

Callers 15

usersMethod · 0.95
listMethod · 0.95
infoMethod · 0.95
runMethod · 0.95
evalMethod · 0.95
runMethod · 0.45
optionsMethod · 0.45
optionMethod · 0.45
listMethod · 0.45
registerMethod · 0.45
runMethod · 0.45
openMethod · 0.45

Calls 1

permissionMethod · 0.95

Tested by 1

runMethod · 0.36