fix(hlcc): persist exact repository ACL sharing

This commit is contained in:
冰朔 2026-08-06 16:28:56 +08:00
commit ba6aca7f24
5 changed files with 173 additions and 27 deletions

View file

@ -48,8 +48,12 @@ assert.match(bootstrap, /access_tokens_migrated": False/);
assert.match(bootstrap, /repositories_migrated": False/);
assert.match(bootstrap, /delete from access_token/);
assert.match(bootstrap, /core\.sharedRepository/);
assert.match(bootstrap, /"group"/);
assert.match(bootstrap, /"--unset-all"/);
assert.match(bootstrap, /\/usr\/bin\/setfacl/);
assert.match(bootstrap, /d:u:guanghu-authz:rwx/);
assert.match(bootstrap, /obsolete sharing hook identity mismatch/);
assert.match(bootstrap, /generated post-receive hook identity mismatch/);
assert.match(bootstrap, /basename "\$\{hook\}"/);
assert.match(bootstrap, /configure_shared_channel_repository\(\)/);
assert.doesNotMatch(
bootstrap,