Permalink
Browse files

Merge pull request #3729 from royalpeasantry/develop

Loosen requirements for ID field in PROJECT_PRIVATE_RE.
  • Loading branch information...
mfschwartz committed May 13, 2017
2 parents 315b76e + 6e9f6d0 commit 5e85d7c774e10636fea4aff8d68eb1b16794771c
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/integration/gs/test_basic.py
@@ -75,13 +75,13 @@

# Regexp for matching project-private default object ACL.
PROJECT_PRIVATE_RE = ('\s*<AccessControlList>\s*<Entries>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>'
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>'
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>FULL_CONTROL</Permission>\s*</Entry>\s*<Entry>'
'\s*<Scope type="GroupById">\s*<ID>[0-9a-fA-F]+</ID>'
'\s*<Scope type="GroupById">\s*<ID>[-a-zA-Z0-9]+</ID>'
'\s*(<Name>[^<]+</Name>)?\s*</Scope>'
'\s*<Permission>READ</Permission>\s*</Entry>\s*</Entries>'
'\s*</AccessControlList>\s*')

0 comments on commit 5e85d7c

Please sign in to comment.