限制对 dotnetnuke 中功能区栏的访问
我有一个 dnn 站点,允许用户拥有子门户。子门户可以是基本的,也可以是高级的。高级传送门基本不受限制。然而,基本门户应该仅限于只能更改提供给他们的内容,而不能添加任何页面或模块。这可能吗?是否有一个安全模块可以帮助实现这一点?
I have a dnn site that allows users to have child portals. The child portals are either basic or advanced. The advanced portals is basically unrestricted. However the basic portals should be restricted to only being able to change the content provided to them but not being able to add any pages or modules. Is that possible? Is there a security module that will aid in that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您对基本门户安全性的描述可以在 DNN 基于角色的访问控制中实现。
分配给用户的角色:
权限
对选定模块的权限
问题是如何方便地将这些权限分配给新页面。
我建议首先使用正确的权限创建模板页面,然后从这些模板复制新页面。还可以为此复制制作一个辅助应用程序。 DNN API 和 IPortable 接口可以在这里提供帮助,但我的经验是,使用第 3 方模块,您通常需要自己实现复制功能。
您可以对非页面编辑者的模块编辑者隐藏控制面板(功能区栏)。这可以通过管理 - 站点设置来完成:
Your description of basic portal security is possible to implement in DNN's role based access control.
The role assigned to the users:
permissions
permissions to selected modules
The problem is how to conveniently assign these permissions to new pages.
I recommend creating template pages first with the correct permissions, and then copying new pages from these templates. It is also possible to make a helper application for this copying. DNN API and the IPortable interface help here, but my experience is that with 3rd party modules you'll often need to implement the copy functionality yourself.
You can hide the control panel (ribbon bar) from Module Editors who are not Page Editors. This can be done from the Admin - Site Settings: