hide the rollback icon unless you are an Admin
This commit is contained in:
parent
98e5d9ea56
commit
63337dcfb3
2 changed files with 6 additions and 3 deletions
|
|
@ -41,6 +41,7 @@
|
|||
Veradox)
|
||||
- Wiki page revisions were not in order (perlDreamer Consulting, LLC)
|
||||
- Spectre misses Sundays (thanks to Todor Kouyoumdjiev, ECoCoMS Ltd.)
|
||||
- fix: RollbackVersion (Thanks to Erik Svanberg for the patch)
|
||||
|
||||
7.3.11
|
||||
- Added an option for enabling coverage tests to testCodebase.pl.
|
||||
|
|
|
|||
|
|
@ -364,9 +364,11 @@ sub www_manageVersions {
|
|||
next unless ($session->user->isInGroup($tag->get("groupToUse")));
|
||||
my $u = WebGUI::User->new($session,$tag->get("createdBy"));
|
||||
$output .= '<tr>
|
||||
<td>'
|
||||
.$session->icon->delete("op=rollbackVersionTag;tagId=".$tag->getId,undef,$rollbackPrompt)
|
||||
.$session->icon->edit("op=editVersionTag;tagId=".$tag->getId)
|
||||
<td>';
|
||||
if ($session->user->isInGroup(3)) {
|
||||
$output .= $session->icon->delete("op=rollbackVersionTag;tagId=".$tag->getId,undef,$rollbackPrompt);
|
||||
}
|
||||
$output .= $session->icon->edit("op=editVersionTag;tagId=".$tag->getId)
|
||||
.'</td>
|
||||
<td><a href="'.$session->url->page("op=manageRevisionsInTag;tagId=".$tag->getId).'">'.$tag->get("name").'</a></td>
|
||||
<td>'.$session->datetime->epochToHuman($tag->get("creationDate")).'</td>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue