Have AuthorizerIsOpen() assert if a given authizer has an AuthorizeUnrestricted() method and if so, call that to provide the result of AuthorizerIsOpen(). Otherwise we check if the supplied Authorizer is nil. This preserves the fast-path for checking tag-level (and other) tsdb operations. This simplifies how we handle such authorizers by handling this case in only one place. |
||
---|---|---|
.. | ||
collectd | ||
continuous_querier | ||
graphite | ||
httpd | ||
meta | ||
opentsdb | ||
precreator | ||
retention | ||
snapshotter | ||
storage | ||
subscriber | ||
udp |