liferay - Permission issue with Asset publisher -
The following steps are needed to reproduce the issue with the asset publisher:
- Site Build Assign power users to this site.
- Create two public pages, Home and Blog.
- Add property publisher and blog portlet to those pages.
- Create a blog such as test users through an administrator account and then remove view permissions for guests and site members.
- Sign in with the power user who was provided this site in step 1.
- Although the user is not allowed to view the blog, this is listed in the property publisher for this user
- Now click on the title in the property publisher, the property publisher does not show anything , But the user throws
principal exception
on the back-end due to not being allowed to see it.
But instead of throwing the error later, asset publisher
should not be listed for itself for that particular user.
This is the default behavior of the whole life and the rest of the properties such as documents & amp; Document for media, wiki etc. & amp; Media shows the title of the file in the asset publisher on the click of this link
I'm thinking if it can be counted as a bug or if someone has an alternative solution for it?
< After some research, I found a "Enable Permission" configuration option in the property publisher's configuration mode, if we enable it, then those entries Will not show any special user's permission.
Comments
Post a Comment