Q:无权限,请向管理员申请授权。【修改】
A:如果特殊直接使用用户个人信息栏目配置,导致未授权,需要进行授权
bt-deve-bt-20200-c197f4fb-153b-46b4
SET @objectId = 'ptdev';
SET @menuId = '4164004985249468416';
select tm.mapper_field,tb_pop.mf_id,tb_pop.menu_id,tb_mf.is_enabled,tb_mf.func_id from (select * from ( select pop_id,menu_id,object_type,object_id,mf_id from bo_popedom where object_id=@objectId and (object_type=2 and menu_id=@menuId) and checked=1 union select pop_id,menu_id,object_type,object_id,mf_id from bo_popedom where object_id in (select role_id from bo_user_role where user_id=@objectId) and object_type=1 and checked=1 and menu_id=@menuId union select pop_id,menu_id,object_type,object_id,mf_id from bo_popedom where object_id in (select dep_id from bo_user_dep where user_id=@objectId) and object_type=4 and checked=1 and menu_id=@menuId union select pop_id,menu_id,object_type,object_id,mf_id from bo_popedom where object_id in (select job_id from bo_user_job where user_id=@objectId) and object_type=5 and checked=1 and menu_id=@menuId ) t where (concat(menu_id,mf_id)) not in (select concat(menu_id,mf_id) from bo_popedom where object_id=@objectId and object_type=3 and menu_id=@menuId)) tb_pop inner join bo_menu_function tb_mf on (tb_mf.mf_id=tb_pop.mf_id) inner join bo_sys_menu tm on (tm.menu_id=tb_pop.menu_id)
权限共享
"popedomVerify": {
// #region 权限共享(直接使用个人信息修改权限)
"popeMkey": "bo-user", // 关联模块
"popeResField": "my_detail", // 引用field
"popeMenuId": "bt-deve-bt-20200-c197f4fb-153b-46b4", // 关联栏目
"verifyMenuId": "bt-deve-bt-20200-c197f4fb-153b-46b4" //
// #endregion 权限共享
}
文档更新时间: 2023-07-19 14:11 作者:admin