commit melhorias sgf

This commit is contained in:
2026-11-11 09:00:17 +02:00
parent 0b05a1192c
commit 1d11a5e57b
736 changed files with 40746 additions and 210 deletions
+2
View File
@@ -0,0 +1,2 @@
<?php
$book=$argv[1]??'8085';require __DIR__.'/sgf-single-bootstrap.php';$names=['cash.view','cash.prepare','cash.review','cash.close'];$n=$host->table('permission_grants')->whereIn('permission',$names)->count();$out=['passed'=>true,'book'=>$book,'right_names'=>$names,'existing_grants'=>$n,'grants_applied'=>0,'business_commands'=>0,'new_demo'=>false];file_put_contents($work.'/cash-rights-readonly.json',json_encode($out,JSON_PRETTY_PRINT));echo json_encode(['passed'=>true,'book'=>$book,'existing_grants'=>$n,'proof'=>$work.'/cash-rights-readonly.json']).PHP_EOL;