Skip to content

Commit

Permalink
Merge pull request #1489 from aepli/Cannot_allow_owners_to_manage_edi…
Browse files Browse the repository at this point in the history
…tors by aepli

Cannot allow owners to manage editors of a distribution list
  • Loading branch information
ikedas authored Nov 15, 2022
2 parents c01e858 + ce7f55d commit 2dd326f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions default/web_tt2/review.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
</div>
</div>

[% IF pS.privilege == 'write' && is_privileged_owner ~%]
[% IF pS.privilege == 'write' ~%]
<div class="small-2 medium-1 columns" role="columnheader">
<label title="[%|loc%]Delete[%END%]">
<i class="fa fa-user-times"></i>
Expand Down Expand Up @@ -333,7 +333,7 @@
<i class="fa fa-fw" title="[%|loc%]Moderator[%END%]"></i>
[%~ END %]
</span>
[% IF pS.privilege == 'write' && is_privileged_owner ~%]
[% IF pS.privilege == 'write' ~%]
<a href="[% 'ajax/edit' | url_rel([list,role],{email=>oV.email,previous_action=>action}) %]"
data-reveal-id="edit" data-reveal-ajax="true" class="MainMenuLinks">
[% oV.email %]
Expand All @@ -355,7 +355,7 @@
</div>

<div class="small-2 medium-1 columns" role="cell">
[% IF is_privileged_owner && oV.subscribed ~%]
[% IF pS.privilege == 'write' && oV.subscribed ~%]
[% PROCESS EditListArrayDel
ppaths = [pS.name,oI]
pitem = pS
Expand Down Expand Up @@ -386,7 +386,7 @@
LAST;
END;
END ~%]
[% IF is_writable && is_privileged_owner ~%]
[% IF is_writable ~%]
[% IF pS.name == 'owner' ~%]
[% SET defopt = listconf.default_owner_options %]
[%~ ELSIF pS.name == 'editor' ~%]
Expand Down Expand Up @@ -478,7 +478,7 @@
</div>
[%~ END %]

[% IF pS.privilege == 'write' && is_privileged_owner ~%]
[% IF pS.privilege == 'write' ~%]
<input type="hidden" name="submit" value="submit" />
<input class="MainMenuLInks" type="submit" name="action_review"
value="[%|loc%]Apply modifications[%END%]" />
Expand Down

0 comments on commit 2dd326f

Please sign in to comment.