[英]Permission issue with Asset publisher
Following are the steps to reproduce the permission issue with Asset Publisher: 以下是通过Asset Publisher重现权限问题的步骤:
PrincipalException
at back-end due to user not having permission to view it. 现在,单击资产发布者中的标题,资产发布者什么都没有显示,但是由于用户没有查看权限而在后端抛出PrincipalException
。 But instead of throwing error later, it should not list in the asset publisher
it self for that particular user. 但是,不要在以后抛出错误,它不应该在asset publisher
中为该特定用户自己列出。
This is the default behavior of liferay and observed with rest of the assets also like document & media, wiki etc. For document & media it shows title of file in Asset publisher on click of the link. 这是liferay的默认行为,在其他资产(如文档和媒体,Wiki等)中也可以观察到。对于文档和媒体,单击链接后,它会在Asset Publisher中显示文件标题。
I am wondering if this can be counted as a bug or if any one have workaround for this? 我想知道这是否可以算作错误,或者是否有人可以解决此问题?
After some research, I found that there is one "enable permission" configuration option in configuration mode of Asset publisher. 经过研究,我发现Asset Publisher的配置模式下有一个“启用权限”配置选项。 if we enable it then it won't show the entries which do not have view permission to particular user. 如果我们启用它,那么它将不会显示对特定用户没有查看权限的条目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.