Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide 'View Revisions' if user has no access
Do not display the 'View Revisions' link to the user if they are not allowed to see it, both when displaying bugnotes and in bug history. Added $p_bug_id parameter to history_localize_item() function, it is needed to call access_can_view_revisions(). Adapted mci_issue_get_history() and email_format_bug_message() to use the new function signature. Fixes #20690
- Loading branch information
Showing
4 changed files
with
49 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters