Skip to content

Fix "Edit" button on blame page without repo permissions

What does this MR do?

Without repo permissions, on a blame page, clicking "Edit" will bring up the Fork/Cancel button just like it does on the blob:show page.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Without repo permissions, on a blame page, clicking "Edit" would do nothing.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #30636 (closed)

Merge request reports