Modules§
- common 🔒
- error
- permission 🔒
- user_
info 🔒 - user_
provider 🔒
Structs§
- Default
Permission Checker - The default permission checker implementation. It checks the permission mode of DefaultUserInfo.
- Permission
Action - A named permission action.
- Permission
Table Target - A user-visible table target for permission checks.
- PgScram
Sha256 Verifier - Static
User Provider
Enums§
- Access
Mode - The access mode of a named permission action.
- Identity
- Mysql
Auth Method - Password
- Authentication information sent by the client.
- Permission
Req - Permission
Resp - Permission
Table Targets - The result of resolving every table target in a permission request.
- PgAuth
Info
Constants§
- ALL_
ACTIONS - All permission actions built into GreptimeDB.
- BEARER_
TOKEN_ USER - Reserved SQL-protocol username selecting bearer-token authentication.
- DASHBOARD_
DELETE - DASHBOARD_
QUERY - DASHBOARD_
SAVE - DEFAULT_
PBKD F2_ SHA256_ ITERATIONS - DEFAULT_
PBKD F2_ SHA256_ SALT_ LEN - INFLUXDB_
WRITE - JAEGER_
QUERY - LOG_
QUERY - LOG_
WRITE - MAX_
PBKD F2_ SHA256_ ITERATIONS - MAX_
PBKD F2_ SHA256_ SALT_ LEN - OPENTSDB_
WRITE - OTLP_
WRITE - PBKD
F2_ SHA256_ HASH_ LEN - PG_
SCRAM_ SHA256_ KEY_ LEN - PIPELINE_
DELETE - PIPELINE_
INSERT - PIPELINE_
QUERY - PROMQL_
QUERY - PROM_
STORE_ READ - PROM_
STORE_ WRITE - SEMANTIC_
GRAPH_ QUERY - Reading a telemetry table through the entity-graph derivation
(
greptime_private.semantic_entities/semantic_relationships); checked once per candidate source table with that table as the target.
Traits§
Functions§
- auth_
mysql - auth_
mysql_ with_ verifier - Authenticates a MySQL native password response against an encoded verifier.
- format_
mysql_ native_ password_ verifier - format_
pbkdf2_ sha256_ password_ verifier - format_
pg_ scram_ sha256_ password_ verifier - mysql_
native_ password_ hash - parse_
pg_ scram_ sha256_ password_ verifier - Parses and validates an encoded PostgreSQL SCRAM-SHA-256 verifier.
- static_
user_ provider_ from_ option - user_
provider_ from_ option - userinfo_
by_ name - construct a
UserInfoimpl with name use default usernamegreptimeif None is provided - validate_
mysql_ native_ password_ verifier