Files
greptimedb/src/frontend/Cargo.toml
T
dennis zhuang fcdae107e1 fix(auth): enforce COPY export read and database table permissions (#10375)
* fix(frontend): authorize expanded COPY DATABASE table targets

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): cover authorized database copy paths

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(frontend): require read permission for COPY TO

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(auth): register the COPY TO permission action

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): group database copy authorization coverage

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): assert COPY read action targets

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(frontend): unify expanded COPY export authorization

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(frontend): defer database COPY target checks

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* fix(frontend): avoid empty database COPY authorization

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): check export authorization error status

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): check database COPY prerequisite assertions

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): use the registered COPY fixture name

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

* test(frontend): align physical COPY fixture registration

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>

---------

Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
2026-11-19 07:52:10 +00:00

99 lines
2.6 KiB
TOML

[package]
name = "frontend"
version.workspace = true
edition.workspace = true
license.workspace = true
[features]
testing = []
enterprise = [
"common-meta/enterprise",
"operator/enterprise",
"sql/enterprise",
"catalog/enterprise",
"common-function/enterprise",
]
[lints]
workspace = true
[dependencies]
api.workspace = true
async-stream.workspace = true
async-trait.workspace = true
auth.workspace = true
axum.workspace = true
bytes.workspace = true
cache.workspace = true
catalog.workspace = true
client.workspace = true
common-base.workspace = true
common-batcher.workspace = true
common-catalog.workspace = true
common-config.workspace = true
common-datasource.workspace = true
common-error.workspace = true
common-event-recorder.workspace = true
common-frontend.workspace = true
common-function.workspace = true
common-grpc.workspace = true
common-macro.workspace = true
common-memory-manager.workspace = true
common-meta.workspace = true
common-options.workspace = true
common-query.workspace = true
common-recordbatch.workspace = true
common-runtime.workspace = true
common-stat.workspace = true
common-telemetry.workspace = true
common-time.workspace = true
common-version.workspace = true
datafusion.workspace = true
datafusion-expr.workspace = true
datatypes.workspace = true
futures.workspace = true
hostname.workspace = true
humantime-serde.workspace = true
lazy_static.workspace = true
log-query.workspace = true
meta-client.workspace = true
moka = { workspace = true, features = ["sync"] }
opentelemetry-proto.workspace = true
opentelemetry-semantic-conventions = { version = "0.31", features = ["semconv_experimental"] }
operator.workspace = true
otel-arrow-rust.workspace = true
partition.workspace = true
pipeline.workspace = true
prometheus.workspace = true
promql-parser.workspace = true
prost.workspace = true
query.workspace = true
serde.workspace = true
serde_json.workspace = true
servers.workspace = true
session.workspace = true
snafu.workspace = true
sql.workspace = true
sqlparser.workspace = true
store-api.workspace = true
table.workspace = true
tokio.workspace = true
tokio-util.workspace = true
toml.workspace = true
tonic.workspace = true
tracing.workspace = true
[dev-dependencies]
arrow-flight.workspace = true
auth = { workspace = true, features = ["testing"] }
catalog = { workspace = true, features = ["testing"] }
common-test-util.workspace = true
datatypes.workspace = true
futures.workspace = true
hyper-util = { workspace = true, features = ["tokio"] }
reqwest.workspace = true
serde_json.workspace = true
strfmt = "0.2"
temp-env.workspace = true
tower.workspace = true