##// END OF EJS Templates
acl: more descriptive error messages
Elifarley Callado Coelho Cruz -
r15207:0f7f9f06 default
parent child Browse files
Show More
@@ -216,6 +216,8 b' def hook(ui, repo, hooktype, node=None, '
216 216 if user is None:
217 217 user = getpass.getuser()
218 218
219 ui.debug('acl: checking access for user "%s"\n' % user)
220
219 221 cfg = ui.config('acl', 'config')
220 222 if cfg:
221 223 ui.readconfig(cfg, sections = ['acl.groups', 'acl.allow.branches',
@@ -242,9 +244,9 b' def hook(ui, repo, hooktype, node=None, '
242 244
243 245 for f in ctx.files():
244 246 if deny and deny(f):
245 ui.debug('acl: user %s denied on %s\n' % (user, f))
246 raise util.Abort(_('acl: access denied for changeset %s') % ctx)
247 raise util.Abort(_('acl: user "%s" denied on "%s"'
248 ' (changeset "%s")') % (user, f, ctx))
247 249 if allow and not allow(f):
248 ui.debug('acl: user %s not allowed on %s\n' % (user, f))
249 raise util.Abort(_('acl: access denied for changeset %s') % ctx)
250 ui.debug('acl: allowing changeset %s\n' % ctx)
250 raise util.Abort(_('acl: user "%s" not allowed on "%s"'
251 ' (changeset "%s")') % (user, f, ctx))
252 ui.debug('acl: path access granted: "%s"\n' % ctx)
@@ -232,16 +232,17 b' No [acl.allow]/[acl.deny]'
232 232 files: 3/3 chunks (100.00%)
233 233 added 3 changesets with 3 changes to 3 files
234 234 calling hook pretxnchangegroup.acl: hgext.acl.hook
235 acl: checking access for user "fred"
235 236 acl: acl.allow.branches not enabled
236 237 acl: acl.deny.branches not enabled
237 238 acl: acl.allow not enabled
238 239 acl: acl.deny not enabled
239 240 acl: branch access granted: "ef1ea85a6374" on branch "default"
240 acl: allowing changeset ef1ea85a6374
241 acl: path access granted: "ef1ea85a6374"
241 242 acl: branch access granted: "f9cafe1212c8" on branch "default"
242 acl: allowing changeset f9cafe1212c8
243 acl: path access granted: "f9cafe1212c8"
243 244 acl: branch access granted: "911600dab2ae" on branch "default"
244 acl: allowing changeset 911600dab2ae
245 acl: path access granted: "911600dab2ae"
245 246 updating the branch cache
246 247 checking for updated bookmarks
247 248 repository tip rolled back to revision 0 (undo push)
@@ -299,16 +300,16 b' Empty [acl.allow]'
299 300 files: 3/3 chunks (100.00%)
300 301 added 3 changesets with 3 changes to 3 files
301 302 calling hook pretxnchangegroup.acl: hgext.acl.hook
303 acl: checking access for user "fred"
302 304 acl: acl.allow.branches not enabled
303 305 acl: acl.deny.branches not enabled
304 306 acl: acl.allow enabled, 0 entries for user fred
305 307 acl: acl.deny not enabled
306 308 acl: branch access granted: "ef1ea85a6374" on branch "default"
307 acl: user fred not allowed on foo/file.txt
308 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
309 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
309 310 transaction abort!
310 311 rollback completed
311 abort: acl: access denied for changeset ef1ea85a6374
312 abort: acl: user "fred" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
312 313 no rollback information available
313 314 0:6675d58eff77
314 315
@@ -364,20 +365,20 b' fred is allowed inside foo/'
364 365 files: 3/3 chunks (100.00%)
365 366 added 3 changesets with 3 changes to 3 files
366 367 calling hook pretxnchangegroup.acl: hgext.acl.hook
368 acl: checking access for user "fred"
367 369 acl: acl.allow.branches not enabled
368 370 acl: acl.deny.branches not enabled
369 371 acl: acl.allow enabled, 1 entries for user fred
370 372 acl: acl.deny not enabled
371 373 acl: branch access granted: "ef1ea85a6374" on branch "default"
372 acl: allowing changeset ef1ea85a6374
374 acl: path access granted: "ef1ea85a6374"
373 375 acl: branch access granted: "f9cafe1212c8" on branch "default"
374 acl: allowing changeset f9cafe1212c8
376 acl: path access granted: "f9cafe1212c8"
375 377 acl: branch access granted: "911600dab2ae" on branch "default"
376 acl: user fred not allowed on quux/file.py
377 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
378 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
378 379 transaction abort!
379 380 rollback completed
380 abort: acl: access denied for changeset 911600dab2ae
381 abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
381 382 no rollback information available
382 383 0:6675d58eff77
383 384
@@ -434,16 +435,16 b' Empty [acl.deny]'
434 435 files: 3/3 chunks (100.00%)
435 436 added 3 changesets with 3 changes to 3 files
436 437 calling hook pretxnchangegroup.acl: hgext.acl.hook
438 acl: checking access for user "barney"
437 439 acl: acl.allow.branches not enabled
438 440 acl: acl.deny.branches not enabled
439 441 acl: acl.allow enabled, 0 entries for user barney
440 442 acl: acl.deny enabled, 0 entries for user barney
441 443 acl: branch access granted: "ef1ea85a6374" on branch "default"
442 acl: user barney not allowed on foo/file.txt
443 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
444 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
444 445 transaction abort!
445 446 rollback completed
446 abort: acl: access denied for changeset ef1ea85a6374
447 abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
447 448 no rollback information available
448 449 0:6675d58eff77
449 450
@@ -501,20 +502,20 b' fred is allowed inside foo/, but not foo'
501 502 files: 3/3 chunks (100.00%)
502 503 added 3 changesets with 3 changes to 3 files
503 504 calling hook pretxnchangegroup.acl: hgext.acl.hook
505 acl: checking access for user "fred"
504 506 acl: acl.allow.branches not enabled
505 507 acl: acl.deny.branches not enabled
506 508 acl: acl.allow enabled, 1 entries for user fred
507 509 acl: acl.deny enabled, 1 entries for user fred
508 510 acl: branch access granted: "ef1ea85a6374" on branch "default"
509 acl: allowing changeset ef1ea85a6374
511 acl: path access granted: "ef1ea85a6374"
510 512 acl: branch access granted: "f9cafe1212c8" on branch "default"
511 acl: allowing changeset f9cafe1212c8
513 acl: path access granted: "f9cafe1212c8"
512 514 acl: branch access granted: "911600dab2ae" on branch "default"
513 acl: user fred not allowed on quux/file.py
514 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
515 error: pretxnchangegroup.acl hook failed: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
515 516 transaction abort!
516 517 rollback completed
517 abort: acl: access denied for changeset 911600dab2ae
518 abort: acl: user "fred" not allowed on "quux/file.py" (changeset "911600dab2ae")
518 519 no rollback information available
519 520 0:6675d58eff77
520 521
@@ -573,18 +574,18 b' fred is allowed inside foo/, but not foo'
573 574 files: 3/3 chunks (100.00%)
574 575 added 3 changesets with 3 changes to 3 files
575 576 calling hook pretxnchangegroup.acl: hgext.acl.hook
577 acl: checking access for user "fred"
576 578 acl: acl.allow.branches not enabled
577 579 acl: acl.deny.branches not enabled
578 580 acl: acl.allow enabled, 1 entries for user fred
579 581 acl: acl.deny enabled, 2 entries for user fred
580 582 acl: branch access granted: "ef1ea85a6374" on branch "default"
581 acl: allowing changeset ef1ea85a6374
583 acl: path access granted: "ef1ea85a6374"
582 584 acl: branch access granted: "f9cafe1212c8" on branch "default"
583 acl: user fred denied on foo/Bar/file.txt
584 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
585 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
585 586 transaction abort!
586 587 rollback completed
587 abort: acl: access denied for changeset f9cafe1212c8
588 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
588 589 no rollback information available
589 590 0:6675d58eff77
590 591
@@ -642,16 +643,16 b' fred is allowed inside foo/, but not foo'
642 643 files: 3/3 chunks (100.00%)
643 644 added 3 changesets with 3 changes to 3 files
644 645 calling hook pretxnchangegroup.acl: hgext.acl.hook
646 acl: checking access for user "barney"
645 647 acl: acl.allow.branches not enabled
646 648 acl: acl.deny.branches not enabled
647 649 acl: acl.allow enabled, 0 entries for user barney
648 650 acl: acl.deny enabled, 0 entries for user barney
649 651 acl: branch access granted: "ef1ea85a6374" on branch "default"
650 acl: user barney not allowed on foo/file.txt
651 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset ef1ea85a6374
652 error: pretxnchangegroup.acl hook failed: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
652 653 transaction abort!
653 654 rollback completed
654 abort: acl: access denied for changeset ef1ea85a6374
655 abort: acl: user "barney" not allowed on "foo/file.txt" (changeset "ef1ea85a6374")
655 656 no rollback information available
656 657 0:6675d58eff77
657 658
@@ -713,16 +714,17 b' barney is allowed everywhere'
713 714 files: 3/3 chunks (100.00%)
714 715 added 3 changesets with 3 changes to 3 files
715 716 calling hook pretxnchangegroup.acl: hgext.acl.hook
717 acl: checking access for user "barney"
716 718 acl: acl.allow.branches not enabled
717 719 acl: acl.deny.branches not enabled
718 720 acl: acl.allow enabled, 1 entries for user barney
719 721 acl: acl.deny enabled, 0 entries for user barney
720 722 acl: branch access granted: "ef1ea85a6374" on branch "default"
721 acl: allowing changeset ef1ea85a6374
723 acl: path access granted: "ef1ea85a6374"
722 724 acl: branch access granted: "f9cafe1212c8" on branch "default"
723 acl: allowing changeset f9cafe1212c8
725 acl: path access granted: "f9cafe1212c8"
724 726 acl: branch access granted: "911600dab2ae" on branch "default"
725 acl: allowing changeset 911600dab2ae
727 acl: path access granted: "911600dab2ae"
726 728 updating the branch cache
727 729 checking for updated bookmarks
728 730 repository tip rolled back to revision 0 (undo push)
@@ -787,20 +789,20 b' wilma can change files with a .txt exten'
787 789 files: 3/3 chunks (100.00%)
788 790 added 3 changesets with 3 changes to 3 files
789 791 calling hook pretxnchangegroup.acl: hgext.acl.hook
792 acl: checking access for user "wilma"
790 793 acl: acl.allow.branches not enabled
791 794 acl: acl.deny.branches not enabled
792 795 acl: acl.allow enabled, 1 entries for user wilma
793 796 acl: acl.deny enabled, 0 entries for user wilma
794 797 acl: branch access granted: "ef1ea85a6374" on branch "default"
795 acl: allowing changeset ef1ea85a6374
798 acl: path access granted: "ef1ea85a6374"
796 799 acl: branch access granted: "f9cafe1212c8" on branch "default"
797 acl: allowing changeset f9cafe1212c8
800 acl: path access granted: "f9cafe1212c8"
798 801 acl: branch access granted: "911600dab2ae" on branch "default"
799 acl: user wilma not allowed on quux/file.py
800 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
802 error: pretxnchangegroup.acl hook failed: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
801 803 transaction abort!
802 804 rollback completed
803 abort: acl: access denied for changeset 911600dab2ae
805 abort: acl: user "wilma" not allowed on "quux/file.py" (changeset "911600dab2ae")
804 806 no rollback information available
805 807 0:6675d58eff77
806 808
@@ -865,6 +867,7 b' file specified by acl.config does not ex'
865 867 files: 3/3 chunks (100.00%)
866 868 added 3 changesets with 3 changes to 3 files
867 869 calling hook pretxnchangegroup.acl: hgext.acl.hook
870 acl: checking access for user "barney"
868 871 error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config'
869 872 transaction abort!
870 873 rollback completed
@@ -937,20 +940,20 b' betty is allowed inside foo/ by a acl.co'
937 940 files: 3/3 chunks (100.00%)
938 941 added 3 changesets with 3 changes to 3 files
939 942 calling hook pretxnchangegroup.acl: hgext.acl.hook
943 acl: checking access for user "betty"
940 944 acl: acl.allow.branches not enabled
941 945 acl: acl.deny.branches not enabled
942 946 acl: acl.allow enabled, 1 entries for user betty
943 947 acl: acl.deny enabled, 0 entries for user betty
944 948 acl: branch access granted: "ef1ea85a6374" on branch "default"
945 acl: allowing changeset ef1ea85a6374
949 acl: path access granted: "ef1ea85a6374"
946 950 acl: branch access granted: "f9cafe1212c8" on branch "default"
947 acl: allowing changeset f9cafe1212c8
951 acl: path access granted: "f9cafe1212c8"
948 952 acl: branch access granted: "911600dab2ae" on branch "default"
949 acl: user betty not allowed on quux/file.py
950 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset 911600dab2ae
953 error: pretxnchangegroup.acl hook failed: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
951 954 transaction abort!
952 955 rollback completed
953 abort: acl: access denied for changeset 911600dab2ae
956 abort: acl: user "betty" not allowed on "quux/file.py" (changeset "911600dab2ae")
954 957 no rollback information available
955 958 0:6675d58eff77
956 959
@@ -1021,16 +1024,17 b' acl.config can set only [acl.allow]/[acl'
1021 1024 files: 3/3 chunks (100.00%)
1022 1025 added 3 changesets with 3 changes to 3 files
1023 1026 calling hook pretxnchangegroup.acl: hgext.acl.hook
1027 acl: checking access for user "barney"
1024 1028 acl: acl.allow.branches not enabled
1025 1029 acl: acl.deny.branches not enabled
1026 1030 acl: acl.allow enabled, 1 entries for user barney
1027 1031 acl: acl.deny enabled, 0 entries for user barney
1028 1032 acl: branch access granted: "ef1ea85a6374" on branch "default"
1029 acl: allowing changeset ef1ea85a6374
1033 acl: path access granted: "ef1ea85a6374"
1030 1034 acl: branch access granted: "f9cafe1212c8" on branch "default"
1031 acl: allowing changeset f9cafe1212c8
1035 acl: path access granted: "f9cafe1212c8"
1032 1036 acl: branch access granted: "911600dab2ae" on branch "default"
1033 acl: allowing changeset 911600dab2ae
1037 acl: path access granted: "911600dab2ae"
1034 1038 updating the branch cache
1035 1039 checking for updated bookmarks
1036 1040 repository tip rolled back to revision 0 (undo push)
@@ -1096,16 +1100,17 b' fred is always allowed'
1096 1100 files: 3/3 chunks (100.00%)
1097 1101 added 3 changesets with 3 changes to 3 files
1098 1102 calling hook pretxnchangegroup.acl: hgext.acl.hook
1103 acl: checking access for user "fred"
1099 1104 acl: acl.allow.branches not enabled
1100 1105 acl: acl.deny.branches not enabled
1101 1106 acl: acl.allow enabled, 1 entries for user fred
1102 1107 acl: acl.deny not enabled
1103 1108 acl: branch access granted: "ef1ea85a6374" on branch "default"
1104 acl: allowing changeset ef1ea85a6374
1109 acl: path access granted: "ef1ea85a6374"
1105 1110 acl: branch access granted: "f9cafe1212c8" on branch "default"
1106 acl: allowing changeset f9cafe1212c8
1111 acl: path access granted: "f9cafe1212c8"
1107 1112 acl: branch access granted: "911600dab2ae" on branch "default"
1108 acl: allowing changeset 911600dab2ae
1113 acl: path access granted: "911600dab2ae"
1109 1114 updating the branch cache
1110 1115 checking for updated bookmarks
1111 1116 repository tip rolled back to revision 0 (undo push)
@@ -1167,18 +1172,18 b' no one is allowed inside foo/Bar/'
1167 1172 files: 3/3 chunks (100.00%)
1168 1173 added 3 changesets with 3 changes to 3 files
1169 1174 calling hook pretxnchangegroup.acl: hgext.acl.hook
1175 acl: checking access for user "fred"
1170 1176 acl: acl.allow.branches not enabled
1171 1177 acl: acl.deny.branches not enabled
1172 1178 acl: acl.allow enabled, 1 entries for user fred
1173 1179 acl: acl.deny enabled, 1 entries for user fred
1174 1180 acl: branch access granted: "ef1ea85a6374" on branch "default"
1175 acl: allowing changeset ef1ea85a6374
1181 acl: path access granted: "ef1ea85a6374"
1176 1182 acl: branch access granted: "f9cafe1212c8" on branch "default"
1177 acl: user fred denied on foo/Bar/file.txt
1178 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
1183 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1179 1184 transaction abort!
1180 1185 rollback completed
1181 abort: acl: access denied for changeset f9cafe1212c8
1186 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1182 1187 no rollback information available
1183 1188 0:6675d58eff77
1184 1189
@@ -1241,17 +1246,18 b' OS-level groups'
1241 1246 files: 3/3 chunks (100.00%)
1242 1247 added 3 changesets with 3 changes to 3 files
1243 1248 calling hook pretxnchangegroup.acl: hgext.acl.hook
1249 acl: checking access for user "fred"
1244 1250 acl: acl.allow.branches not enabled
1245 1251 acl: acl.deny.branches not enabled
1246 1252 acl: "group1" not defined in [acl.groups]
1247 1253 acl: acl.allow enabled, 1 entries for user fred
1248 1254 acl: acl.deny not enabled
1249 1255 acl: branch access granted: "ef1ea85a6374" on branch "default"
1250 acl: allowing changeset ef1ea85a6374
1256 acl: path access granted: "ef1ea85a6374"
1251 1257 acl: branch access granted: "f9cafe1212c8" on branch "default"
1252 acl: allowing changeset f9cafe1212c8
1258 acl: path access granted: "f9cafe1212c8"
1253 1259 acl: branch access granted: "911600dab2ae" on branch "default"
1254 acl: allowing changeset 911600dab2ae
1260 acl: path access granted: "911600dab2ae"
1255 1261 updating the branch cache
1256 1262 checking for updated bookmarks
1257 1263 repository tip rolled back to revision 0 (undo push)
@@ -1313,6 +1319,7 b' OS-level groups'
1313 1319 files: 3/3 chunks (100.00%)
1314 1320 added 3 changesets with 3 changes to 3 files
1315 1321 calling hook pretxnchangegroup.acl: hgext.acl.hook
1322 acl: checking access for user "fred"
1316 1323 acl: acl.allow.branches not enabled
1317 1324 acl: acl.deny.branches not enabled
1318 1325 acl: "group1" not defined in [acl.groups]
@@ -1320,13 +1327,12 b' OS-level groups'
1320 1327 acl: "group1" not defined in [acl.groups]
1321 1328 acl: acl.deny enabled, 1 entries for user fred
1322 1329 acl: branch access granted: "ef1ea85a6374" on branch "default"
1323 acl: allowing changeset ef1ea85a6374
1330 acl: path access granted: "ef1ea85a6374"
1324 1331 acl: branch access granted: "f9cafe1212c8" on branch "default"
1325 acl: user fred denied on foo/Bar/file.txt
1326 error: pretxnchangegroup.acl hook failed: acl: access denied for changeset f9cafe1212c8
1332 error: pretxnchangegroup.acl hook failed: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1327 1333 transaction abort!
1328 1334 rollback completed
1329 abort: acl: access denied for changeset f9cafe1212c8
1335 abort: acl: user "fred" denied on "foo/Bar/file.txt" (changeset "f9cafe1212c8")
1330 1336 no rollback information available
1331 1337 0:6675d58eff77
1332 1338
@@ -1434,18 +1440,19 b' No branch acls specified'
1434 1440 files: 4/4 chunks (100.00%)
1435 1441 added 4 changesets with 4 changes to 4 files (+1 heads)
1436 1442 calling hook pretxnchangegroup.acl: hgext.acl.hook
1443 acl: checking access for user "astro"
1437 1444 acl: acl.allow.branches not enabled
1438 1445 acl: acl.deny.branches not enabled
1439 1446 acl: acl.allow not enabled
1440 1447 acl: acl.deny not enabled
1441 1448 acl: branch access granted: "ef1ea85a6374" on branch "default"
1442 acl: allowing changeset ef1ea85a6374
1449 acl: path access granted: "ef1ea85a6374"
1443 1450 acl: branch access granted: "f9cafe1212c8" on branch "default"
1444 acl: allowing changeset f9cafe1212c8
1451 acl: path access granted: "f9cafe1212c8"
1445 1452 acl: branch access granted: "911600dab2ae" on branch "default"
1446 acl: allowing changeset 911600dab2ae
1453 acl: path access granted: "911600dab2ae"
1447 1454 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1448 acl: allowing changeset e8fc755d4d82
1455 acl: path access granted: "e8fc755d4d82"
1449 1456 updating the branch cache
1450 1457 checking for updated bookmarks
1451 1458 repository tip rolled back to revision 2 (undo push)
@@ -1513,16 +1520,17 b' Branch acl deny test'
1513 1520 files: 4/4 chunks (100.00%)
1514 1521 added 4 changesets with 4 changes to 4 files (+1 heads)
1515 1522 calling hook pretxnchangegroup.acl: hgext.acl.hook
1523 acl: checking access for user "astro"
1516 1524 acl: acl.allow.branches not enabled
1517 1525 acl: acl.deny.branches enabled, 1 entries for user astro
1518 1526 acl: acl.allow not enabled
1519 1527 acl: acl.deny not enabled
1520 1528 acl: branch access granted: "ef1ea85a6374" on branch "default"
1521 acl: allowing changeset ef1ea85a6374
1529 acl: path access granted: "ef1ea85a6374"
1522 1530 acl: branch access granted: "f9cafe1212c8" on branch "default"
1523 acl: allowing changeset f9cafe1212c8
1531 acl: path access granted: "f9cafe1212c8"
1524 1532 acl: branch access granted: "911600dab2ae" on branch "default"
1525 acl: allowing changeset 911600dab2ae
1533 acl: path access granted: "911600dab2ae"
1526 1534 error: pretxnchangegroup.acl hook failed: acl: user "astro" denied on branch "foobar" (changeset "e8fc755d4d82")
1527 1535 transaction abort!
1528 1536 rollback completed
@@ -1590,6 +1598,7 b' Branch acl empty allow test'
1590 1598 files: 4/4 chunks (100.00%)
1591 1599 added 4 changesets with 4 changes to 4 files (+1 heads)
1592 1600 calling hook pretxnchangegroup.acl: hgext.acl.hook
1601 acl: checking access for user "astro"
1593 1602 acl: acl.allow.branches enabled, 0 entries for user astro
1594 1603 acl: acl.deny.branches not enabled
1595 1604 acl: acl.allow not enabled
@@ -1663,6 +1672,7 b' Branch acl allow other'
1663 1672 files: 4/4 chunks (100.00%)
1664 1673 added 4 changesets with 4 changes to 4 files (+1 heads)
1665 1674 calling hook pretxnchangegroup.acl: hgext.acl.hook
1675 acl: checking access for user "astro"
1666 1676 acl: acl.allow.branches enabled, 0 entries for user astro
1667 1677 acl: acl.deny.branches not enabled
1668 1678 acl: acl.allow not enabled
@@ -1730,18 +1740,19 b' Branch acl allow other'
1730 1740 files: 4/4 chunks (100.00%)
1731 1741 added 4 changesets with 4 changes to 4 files (+1 heads)
1732 1742 calling hook pretxnchangegroup.acl: hgext.acl.hook
1743 acl: checking access for user "george"
1733 1744 acl: acl.allow.branches enabled, 1 entries for user george
1734 1745 acl: acl.deny.branches not enabled
1735 1746 acl: acl.allow not enabled
1736 1747 acl: acl.deny not enabled
1737 1748 acl: branch access granted: "ef1ea85a6374" on branch "default"
1738 acl: allowing changeset ef1ea85a6374
1749 acl: path access granted: "ef1ea85a6374"
1739 1750 acl: branch access granted: "f9cafe1212c8" on branch "default"
1740 acl: allowing changeset f9cafe1212c8
1751 acl: path access granted: "f9cafe1212c8"
1741 1752 acl: branch access granted: "911600dab2ae" on branch "default"
1742 acl: allowing changeset 911600dab2ae
1753 acl: path access granted: "911600dab2ae"
1743 1754 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1744 acl: allowing changeset e8fc755d4d82
1755 acl: path access granted: "e8fc755d4d82"
1745 1756 updating the branch cache
1746 1757 checking for updated bookmarks
1747 1758 repository tip rolled back to revision 2 (undo push)
@@ -1814,18 +1825,19 b' push foobar into the remote'
1814 1825 files: 4/4 chunks (100.00%)
1815 1826 added 4 changesets with 4 changes to 4 files (+1 heads)
1816 1827 calling hook pretxnchangegroup.acl: hgext.acl.hook
1828 acl: checking access for user "george"
1817 1829 acl: acl.allow.branches enabled, 1 entries for user george
1818 1830 acl: acl.deny.branches not enabled
1819 1831 acl: acl.allow not enabled
1820 1832 acl: acl.deny not enabled
1821 1833 acl: branch access granted: "ef1ea85a6374" on branch "default"
1822 acl: allowing changeset ef1ea85a6374
1834 acl: path access granted: "ef1ea85a6374"
1823 1835 acl: branch access granted: "f9cafe1212c8" on branch "default"
1824 acl: allowing changeset f9cafe1212c8
1836 acl: path access granted: "f9cafe1212c8"
1825 1837 acl: branch access granted: "911600dab2ae" on branch "default"
1826 acl: allowing changeset 911600dab2ae
1838 acl: path access granted: "911600dab2ae"
1827 1839 acl: branch access granted: "e8fc755d4d82" on branch "foobar"
1828 acl: allowing changeset e8fc755d4d82
1840 acl: path access granted: "e8fc755d4d82"
1829 1841 updating the branch cache
1830 1842 checking for updated bookmarks
1831 1843 repository tip rolled back to revision 2 (undo push)
@@ -1897,6 +1909,7 b' Branch acl conflicting deny'
1897 1909 files: 4/4 chunks (100.00%)
1898 1910 added 4 changesets with 4 changes to 4 files (+1 heads)
1899 1911 calling hook pretxnchangegroup.acl: hgext.acl.hook
1912 acl: checking access for user "george"
1900 1913 acl: acl.allow.branches not enabled
1901 1914 acl: acl.deny.branches enabled, 1 entries for user george
1902 1915 acl: acl.allow not enabled
General Comments 0
You need to be logged in to leave comments. Login now