Actions
Defect #30731
closed"View differences" buttons are shown in the repository page even without "Browse repository" permission
Defect #30731:
"View differences" buttons are shown in the repository page even without "Browse repository" permission
Resolution:
Fixed
Affected version:
Description
You are not allowed to see the diff between changesets if you don't have a "Browse repository" permission. However, "View differences" buttons on RepositoriesController#show page are always shown even if you don't have the permission. In contrast, the "View differences" tab on the RepositoriesController#revision is hidden depending on the permission.
I think the buttons should be hidden if the current user does not have a "Browse repository" permission.

Files
Actions