tests/test-acl.t
branchstable
changeset 13446 1e497df514e2
parent 13364 ddddb76f2da3
child 13783 c196352d935b
equal deleted inserted replaced
13445:61a898576888 13446:1e497df514e2
   140   adding quux/file.py revisions
   140   adding quux/file.py revisions
   141   files: 3/3 chunks (100.00%)
   141   files: 3/3 chunks (100.00%)
   142   added 3 changesets with 3 changes to 3 files
   142   added 3 changesets with 3 changes to 3 files
   143   updating the branch cache
   143   updating the branch cache
   144   checking for updated bookmarks
   144   checking for updated bookmarks
   145   rolling back to revision 0 (undo push)
   145   repository tip rolled back to revision 0 (undo push)
       
   146   working directory now based on revision 0
   146   0:6675d58eff77
   147   0:6675d58eff77
   147   
   148   
   148 
   149 
   149   $ echo '[hooks]' >> $config
   150   $ echo '[hooks]' >> $config
   150   $ echo 'pretxnchangegroup.acl = python:hgext.acl.hook' >> $config
   151   $ echo 'pretxnchangegroup.acl = python:hgext.acl.hook' >> $config
   219   added 3 changesets with 3 changes to 3 files
   220   added 3 changesets with 3 changes to 3 files
   220   calling hook pretxnchangegroup.acl: hgext.acl.hook
   221   calling hook pretxnchangegroup.acl: hgext.acl.hook
   221   acl: changes have source "push" - skipping
   222   acl: changes have source "push" - skipping
   222   updating the branch cache
   223   updating the branch cache
   223   checking for updated bookmarks
   224   checking for updated bookmarks
   224   rolling back to revision 0 (undo push)
   225   repository tip rolled back to revision 0 (undo push)
       
   226   working directory now based on revision 0
   225   0:6675d58eff77
   227   0:6675d58eff77
   226   
   228   
   227 
   229 
   228 No [acl.allow]/[acl.deny]
   230 No [acl.allow]/[acl.deny]
   229 
   231 
   308   acl: allowing changeset f9cafe1212c8
   310   acl: allowing changeset f9cafe1212c8
   309   acl: branch access granted: "911600dab2ae" on branch "default"
   311   acl: branch access granted: "911600dab2ae" on branch "default"
   310   acl: allowing changeset 911600dab2ae
   312   acl: allowing changeset 911600dab2ae
   311   updating the branch cache
   313   updating the branch cache
   312   checking for updated bookmarks
   314   checking for updated bookmarks
   313   rolling back to revision 0 (undo push)
   315   repository tip rolled back to revision 0 (undo push)
       
   316   working directory now based on revision 0
   314   0:6675d58eff77
   317   0:6675d58eff77
   315   
   318   
   316 
   319 
   317 Empty [acl.allow]
   320 Empty [acl.allow]
   318 
   321 
   943   acl: allowing changeset f9cafe1212c8
   946   acl: allowing changeset f9cafe1212c8
   944   acl: branch access granted: "911600dab2ae" on branch "default"
   947   acl: branch access granted: "911600dab2ae" on branch "default"
   945   acl: allowing changeset 911600dab2ae
   948   acl: allowing changeset 911600dab2ae
   946   updating the branch cache
   949   updating the branch cache
   947   checking for updated bookmarks
   950   checking for updated bookmarks
   948   rolling back to revision 0 (undo push)
   951   repository tip rolled back to revision 0 (undo push)
       
   952   working directory now based on revision 0
   949   0:6675d58eff77
   953   0:6675d58eff77
   950   
   954   
   951 
   955 
   952 wilma can change files with a .txt extension
   956 wilma can change files with a .txt extension
   953 
   957 
  1339   acl: allowing changeset f9cafe1212c8
  1343   acl: allowing changeset f9cafe1212c8
  1340   acl: branch access granted: "911600dab2ae" on branch "default"
  1344   acl: branch access granted: "911600dab2ae" on branch "default"
  1341   acl: allowing changeset 911600dab2ae
  1345   acl: allowing changeset 911600dab2ae
  1342   updating the branch cache
  1346   updating the branch cache
  1343   checking for updated bookmarks
  1347   checking for updated bookmarks
  1344   rolling back to revision 0 (undo push)
  1348   repository tip rolled back to revision 0 (undo push)
       
  1349   working directory now based on revision 0
  1345   0:6675d58eff77
  1350   0:6675d58eff77
  1346   
  1351   
  1347 
  1352 
  1348 asterisk
  1353 asterisk
  1349 
  1354 
  1436   acl: allowing changeset f9cafe1212c8
  1441   acl: allowing changeset f9cafe1212c8
  1437   acl: branch access granted: "911600dab2ae" on branch "default"
  1442   acl: branch access granted: "911600dab2ae" on branch "default"
  1438   acl: allowing changeset 911600dab2ae
  1443   acl: allowing changeset 911600dab2ae
  1439   updating the branch cache
  1444   updating the branch cache
  1440   checking for updated bookmarks
  1445   checking for updated bookmarks
  1441   rolling back to revision 0 (undo push)
  1446   repository tip rolled back to revision 0 (undo push)
       
  1447   working directory now based on revision 0
  1442   0:6675d58eff77
  1448   0:6675d58eff77
  1443   
  1449   
  1444 
  1450 
  1445   $ echo '[acl.deny]' >> $config
  1451   $ echo '[acl.deny]' >> $config
  1446   $ echo "foo/Bar/** = *" >> $config
  1452   $ echo "foo/Bar/** = *" >> $config
  1626   acl: allowing changeset f9cafe1212c8
  1632   acl: allowing changeset f9cafe1212c8
  1627   acl: branch access granted: "911600dab2ae" on branch "default"
  1633   acl: branch access granted: "911600dab2ae" on branch "default"
  1628   acl: allowing changeset 911600dab2ae
  1634   acl: allowing changeset 911600dab2ae
  1629   updating the branch cache
  1635   updating the branch cache
  1630   checking for updated bookmarks
  1636   checking for updated bookmarks
  1631   rolling back to revision 0 (undo push)
  1637   repository tip rolled back to revision 0 (undo push)
       
  1638   working directory now based on revision 0
  1632   0:6675d58eff77
  1639   0:6675d58eff77
  1633   
  1640   
  1634 
  1641 
  1635   $ echo '[acl.deny]' >> $config
  1642   $ echo '[acl.deny]' >> $config
  1636   $ echo "foo/Bar/** = @group1" >> $config
  1643   $ echo "foo/Bar/** = @group1" >> $config