Skip to content

Trace Parser: authorize trace deletion in the web server - #560

Open
ahmetziyayildirim wants to merge 1 commit into
fix/traceparser-web-secret-handlingfrom
fix/traceparser-authenticated-deletion
Open

ahmetziyayildirim wants to merge 1 commit into
fix/traceparser-web-secret-handlingfrom
fix/traceparser-authenticated-deletion

Conversation

@ahmetziyayildirim

Copy link
Copy Markdown
Collaborator

Summary

  • Make the DAB surface analysis-only by removing table-delete grants and the DeleteTrace entity.
  • Route web deletion through an authenticated, tenant-checked server service using a separately configured, restricted SQL connection.
  • Repeat incremental deletion batches until the trace is confirmed absent, with bounded execution and explicit failure handling.
  • Add authorization/completion regression coverage and configuration guidance.

Deployment policy

Deletion is disabled until TraceAdministration:SqlConnectionString is configured. The documented SQL principal requires only EXECUTE on dbo.sp_DeleteTrace and SELECT on dbo.Traces. Every authenticated user admitted to the configured tenant can delete traces; this is not a per-owner or administrator-only policy.

Stacked on #559. Review this PR against its current base for the deletion-only diff; merge the preceding change first and retarget as appropriate. No SQL procedure replacement is included.

Keep DAB analysis read-only and execute trace deletion through a tenant-checked server service with a restricted SQL connection. Confirm completion across incremental batches and cover authorization and failure paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 7f085bfc-844d-4ec3-9391-b696cf6d0e6d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant