Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.1.20 EE GA2
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Collaboration, Collaboration > Wiki
-
Labels:
-
Similar Issues:
Description
Hi All,
Here I have found Liferay 6.1. EE related issue and I cant able to fix its so please do help and provide solution as soon as possible it's a high priority for us to resolve it.
When a wiki page should be visible only by its owner, it's displayed for all users.If they try to view it, they are told that they don't have permissions required.
Steps for reproduce :
- Add a page on a wiki
- Set its permissions to be viewable only by its owner
- Login with another user
- Go to the wiki, on the parent of the wiki page you just added. You should see the child page you just added
- If you search for this wiki page content.you can see in search result also.
It might be for Document,Blog and Message Board also I m not sure.

Its because the indexer associated with Asset has not override hasPermission method. For quick fix, you can create an ext plugin to point your CustomIndexer(It's better to extend the actual Indexer class) and then override the method. I am attaching the ext-plugin which solves this for Wiki.