Changeset 33:b3fe3a50f605 in documentViewer for zpt


Ignore:
Timestamp:
Apr 11, 2006, 5:27:57 PM (18 years ago)
Author:
casties
Branch:
default
Message:

version 0.2.3 - first version with access control!

  • defaults to open when no access info
  • uses any logged in user for local access
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/changeDocumentViewer.zpt

    r25 r33  
    1616        <p class="form-optional">Thumbnail columns</p>
    1717        <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p>
     18        <p class="form-optional">Authorized groups</p>
     19        <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p>
     20        <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access
     21        to one of these groups, local access to the ressource is granted.</p>
    1822               
    1923                <p><input type="submit" value="change"></p>
Note: See TracChangeset for help on using the changeset viewer.