Changeset 3079 for WAeUP_SRP/base


Ignore:
Timestamp:
31 Jan 2008, 22:30:34 (17 years ago)
Author:
Henrik Bettermann
Message:

add some simple security

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_pins/pins_view.pt

    r3077 r3079  
    33                        mtool here/portal_membership;
    44                        member mtool/getAuthenticatedMember;
     5                        archive_allowed python: str(member) in ('admin','joachim',);
    56                        ">
    67  <metal:body use-macro="here/main_template/macros/master">
     
    6768                <input type="checkbox" name="ids:list" value="" id="" class="noborder"
    6869                       tal:define="id row"
     70                       tal:condition="archive_allowed"                       
    6971                       tal:attributes="value id;
    7072                       id python:'cb_' + id;
     
    7880        </table>
    7981        <table width="100%" cellspacing="0" cellpadding="2"
    80                class="folderButtons">
     82               class="folderButtons"
     83               tal:condition="archive_allowed">
    8184          <tr>
    8285            <td align="left" valign="top" rowspan="3"></td>
Note: See TracChangeset for help on using the changeset viewer.