Alfresco 中的页面或屏幕授权

发布于 2024-12-24 01:23:41 字数 59 浏览 2 评论 0原文

是否可以允许用户访问 Alfresco Share 中的特定页面?例如哪个用户或用户组可以访问哪个页面。

Is it possible to allow users to access a specific page in Alfresco Share? Which user or user group can access to which page for example.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

楠木可依 2024-12-31 01:23:41

不是真的,除非你可以将你的用户映射到 Spring surf 中包含的一组固定的(独立于站点的)角色(无、访客、用户、管理员)。

这些角色被连接到各种类中(即org.springframework.extensions.surf.mvc.PageVieworg.springframework.extensions.webscripts.connector.Userorg.springframework.extensions.webscripts.Description)。

如果您可以将用户映射到这些角色,只需在页面 xml 描述符中相应地设置身份验证值即可。

例如:
要查看文档库,共享需要您登录,因此,在 site-data/pages/documentlibrary.xml 中,它读取 user< /代码>。

如果您无法以这种方式映射您的用户,事情可能会变得有点混乱。

Not really, unless you can map your users to the fixed set of (site independent) roles (none, guest, user, admin) baked into spring surf.

These roles are wired into various classes (i.e. org.springframework.extensions.surf.mvc.PageView,org.springframework.extensions.webscripts.connector.User,org.springframework.extensions.webscripts.Description).

If you can map your users to these roles, just set the authentication value accordingly in the pages xml descriptor.

For example:
To see the document-library, share requires you to be logged in, and hence, in site-data/pages/documentlibrary.xml it reads <authentication>user</authentication>.

If you cannot map your users in this way, things can get a bit messy.

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