MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / allowQuery

Method allowQuery

src/auth/Authorization.java:89–89  ·  view source on GitHub ↗

Determines if the user is allowed to execute the given query. The returned state contains a status code regarding whether or not the query is allowed. If the query IS allowed, the same user state passed as an argument maybe returned. @param state A non-null auth state with the user and AuthStatus.SU

(final AuthState state, 
      final TSQuery query)

Source from the content-addressed store, hash-verified

87 * permission.
88 */
89 public abstract AuthState allowQuery(final AuthState state,
90 final TSQuery query);
91
92 /**

Callers 8

setUpMethod · 0.95
beforeMethod · 0.95
allowTSQueryGuestMethod · 0.65
allowQueryGuestMethod · 0.65
checkAuthorizationMethod · 0.65

Implementers 1

AllowAllAuthenticatingAuthorizersrc/auth/AllowAllAuthenticatingAuthori

Calls

no outgoing calls

Tested by 7

setUpMethod · 0.76
beforeMethod · 0.76
allowTSQueryGuestMethod · 0.52
allowQueryGuestMethod · 0.52