fastadmin 单独设置导入权限【转载】

在角色组中,没有单独的导入权限,
操作数据库fa_auth_rule表
选择相同层级的菜单,复制修改name字段
改为 类/import
修改title =>导入

INSERT INTO `table`.`fa_auth_rule`
(`id`, `type`, `pid`, `name`, `title`, `icon`, `condition`, `remark`, `ismenu`, `createtime`, `updatetime`, `weigh`, `status`)
VALUES
(NULL, 'file', '131', 'data/import', '导入', 'fa fa-circle-o', '', '', '0', '1588062825', '1588062825', '0', 'normal')

 转自:https://blog.csdn.net/lows_H/article/details/107467017

原文地址:https://www.cnblogs.com/apolloren/p/14649589.html