mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-11-04 19:38:21 +08:00
refactor(install): 种子退役,migrate:run 一条命令完成建表与初始数据
新增 InitDataAlignService 六域对齐(超管/角色/权限节点/配置/快捷入口/商城演示)与 20260909130000 迁移;SystemAdmin 快照以字面量哈希入库;删除种子三件与安装锁依赖,seeds 目录留 .gitkeep;README/tests/规则等 11 处说明同步。 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -212,7 +212,7 @@ class McpServiceTest extends TestCase
|
||||
|
||||
public function test_drift_super_admin_creator_gets_full_whitelist(): void
|
||||
{
|
||||
// 超管(seed 的 id=1,auth_ids 空):判定链超管直通,白名单全保留
|
||||
// 超管(初始化迁移创建的 id=1,auth_ids 空):判定链超管直通,白名单全保留
|
||||
// (含未注册节点也放行——超管对全量节点可见)
|
||||
$fakeNode = 'nonexist.fake_node/action';
|
||||
$key = $this->createKey(1, [self::NODE_A, $fakeNode, self::NODE_B]);
|
||||
|
||||
Reference in New Issue
Block a user