permissions - DNN Permissions - allow module access for all roles, except one?
问题描述
When I deny the "Member Student" role access to a specific page, that page correctly denies those users, and shows a "you do not have access" page.
However, when I deny the "Member Student" role access to a specific module, the module still shows. Am I missing something obvious?? Using DNN v9.2
解决方案
您可能需要将其设置为所有角色(注册用户、未注册用户、未验证用户)以具有查看权限,并且会员学生角色被拒绝查看权限以隐藏它。
我真的觉得这个 USED 可以按照您期望的方式工作,但是在过去的某个时候,DNN 权限发生了变化,也许拒绝不再胜过所有其他访问。
推荐阅读
- flutter - Dio 4.0.0 (Dart) 中奇怪的 BaseOptions 问题
- python - 获取属于特定类的数据子集
- java - 从动态字符串中获取运算符之前的子字符串
- python - 为什么 discord 不返回 COVID19 结果数据?
- amazon-web-services - 创建 AWS 弹性 Beanstalk Spring 实例并将其分配给 VPC
- hibernate - reddison hibernate 作为二级缓存的问题
- java - 短期 Java CLI 应用程序的性能
- html - 如何让一件物品在另一件物品开始收缩之前完全收缩?
- php - 获取每个帖子的标签(wordpress php)
- sql - 删除 Laravel 8 中未使用的组