changeset 33:b3fe3a50f605

version 0.2.3 - first version with access control! * defaults to open when no access info * uses any logged in user for local access
author casties
date Tue, 11 Apr 2006 19:27:57 +0200
parents b25c89d693cf
children 0ca99253b4ce
files zpt/changeDocumentViewer.zpt
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/changeDocumentViewer.zpt	Tue Apr 11 19:27:57 2006 +0200
+++ b/zpt/changeDocumentViewer.zpt	Tue Apr 11 19:27:57 2006 +0200
@@ -15,6 +15,10 @@
         <p class="form-element"><input size="3" tal:attributes="value here/thumbrows | default" name="thumbrows"></p>
         <p class="form-optional">Thumbnail columns</p>
         <p class="form-element"><input size="3" tal:attributes="value here/thumbcols | default" name="thumbcols"></p>
+        <p class="form-optional">Authorized groups</p>
+        <p class="form-element"><input size="80" tal:attributes="value python:','.join(getattr(here,'authgroups', []))" name="authgroups"></p>
+        <p class="form-text">Access groups (separated by ',') that are considered local, i.e. when a ressource restricts access
+        to one of these groups, local access to the ressource is granted.</p>
 		
 		<p><input type="submit" value="change"></p>
 		</form>