~david-goetz/swift/db_double_quar

« back to all changes in this revision

Viewing changes to swift/common/middleware/acl.py

  • Committer: Tarmac
  • Author(s): gholt
  • Date: 2011-03-26 00:27:28 UTC
  • mfrom: (222.1.19 staticweb)
  • Revision ID: tarmac-20110326002728-ue5com09shohjvt3
Static web filter middleware.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        .r:
59
59
        .r:-
60
60
 
 
61
    By default, allowing read access via .r will not allow listing objects in
 
62
    the container -- just retrieving objects from the container. To turn on
 
63
    listings, use the .rlistings directive.
 
64
 
61
65
    Also, .r designations aren't allowed in headers whose names include the
62
66
    word 'write'.
63
67
 
71
75
    ``bob,,,sue``           ``bob,sue``
72
76
    ``.referrer : *``       ``.r:*``
73
77
    ``.ref:*.example.com``  ``.r:.example.com``
 
78
    ``.r:*, .rlistings``    ``.r:*,.rlistings``
74
79
    ======================  ======================
75
80
 
76
81
    :param name: The name of the header being cleaned, such as X-Container-Read