MantisBT: master 57e9b01a

Author Committer Branch Timestamp Parent
dregad dregad master 2020-12-06 02:59 master c9a8aca2
Affected Issues  0020690: inconsistent UI for view bugnote revision
Changeset

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 0020690

mod - api/soap/mc_issue_api.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/email_api.php Diff File
mod - core/history_api.php Diff File