限制对 dotnetnuke 中功能区栏的访问

发布于 2024-10-10 03:32:40 字数 121 浏览 0 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空城缀染半城烟沙 2024-10-17 03:32:40

您对基本门户安全性的描述可以在 DNN 基于角色的访问控制中实现。

分配给用户的角色:

  • 不应进行页面级编辑
    权限
  • 应该有编辑
    对选定模块的权限

问题是如何方便地将这些权限分配给新页面。
我建议首先使用正确的权限创建模板页面,然后从这些模板复制新页面。还可以为此复制制作一个辅助应用程序。 DNN API 和 IPortable 接口可以在这里提供帮助,但我的经验是,使用第 3 方模块,您通常需要自己实现复制功能。

您可以对非页面编辑者的模块编辑者隐藏控制面板(功能区栏)。这可以通过管理 - 站点设置来完成:

alt text

Your description of basic portal security is possible to implement in DNN's role based access control.

The role assigned to the users:

  • should not have page-level edit
    permissions
  • should have edit
    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:

alt text

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文