We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e182513 commit d6f79faCopy full SHA for d6f79fa
crates/application/src/lib.rs
@@ -1283,7 +1283,10 @@ impl<RT: Runtime> Application<RT> {
1283
component: ComponentId,
1284
requestor: ExportRequestor,
1285
) -> anyhow::Result<()> {
1286
- anyhow::ensure!(identity.is_admin(), unauthorized_error("request_export"));
+ anyhow::ensure!(
1287
+ identity.is_admin() || identity.is_system(),
1288
+ unauthorized_error("request_export")
1289
+ );
1290
let snapshot = self.latest_snapshot()?;
1291
let user_table_count = snapshot.table_registry.user_table_names().count();
1292
if user_table_count == 0 {
0 commit comments