InfoHub

Admin Security Bootstrap & Permissions

InfoHubTech
By Tech3d ago6801 min read6 comments40 likes
Admin Security Bootstrap & Permissions
暗黑模式

之前系统初始化总是要手动去数据库改状态,太繁琐也不安全。

这次做了一个受保护的 Bootstrap 页面 /admin/setup,专门用来给首个 Master 账号提权。同时在后台正式拉开了 Master(全站管理)和 iMaster(只读或降级管理)的权限层级,后续多子系统接入会更放心。

iM

Published in InfoHubOfficial

iHome official content account, bringing you the latest news and product updates.

0 Comments

No comments yet