liferay - Permission issue with Asset publisher -


The following steps are needed to reproduce the issue with the asset publisher:

  1. Site Build Assign power users to this site.
  2. Create two public pages, Home and Blog.
  3. Add property publisher and blog portlet to those pages.
  4. Create a blog such as test users through an administrator account and then remove view permissions for guests and site members.
  5. Sign in with the power user who was provided this site in step 1.
  6. Although the user is not allowed to view the blog, this is listed in the property publisher for this user
  7. 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. Enter image details here

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?

Enter image details here

< 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.

Enter image details here


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -