Fórumok

Wiki's Portlet view only

thumbnail
Kent Lee, módosítva 14 év-val korábban

Wiki's Portlet view only

New Member Bejegyzések: 14 Csatlakozás dátuma: 2009.09.06. Legújabb bejegyzések
I wished to know how do I allowed only the community member to view the wiki page instead of editing it.

I've tried to create role and define the permission of the wiki's portlet to only have the view action and assign this role to the community member. But still, the member are able to click the "Edit" button and do the ammendment on the wiki pages.

Is it possible to do that? How? Thanks in advance.
thumbnail
Amos Fong, módosítva 14 év-val korábban

RE: Wiki's Portlet view only

Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
Hi Kent,

By default wiki pages allow community members to edit the page.

If it's just one page you want to restrict, you can click details and remove update permission from community members.

If you want all pages in the future, you can change the default permissions. This thread seems to show how:

http://www.liferay.com/web/guest/community/forums/-/message_boards/message/3043196
thumbnail
Kent Lee, módosítva 14 év-val korábban

RE: Wiki's Portlet view only

New Member Bejegyzések: 14 Csatlakozás dátuma: 2009.09.06. Legújabb bejegyzések
Ermm, But from what i see from the permission list, the only relevant action key is "update" which is controlling the wiki's name and description but not the wiki's page.

I'm just wondering is it the default behavior that wiki's page is allowed to be edited by everyone.
thumbnail
Lisa Simpson, módosítva 14 év-val korábban

RE: Wiki's Portlet view only

Liferay Legend Bejegyzések: 2034 Csatlakozás dátuma: 2009.03.05. Legújabb bejegyzések
There is the Wiki Display portlet....
thumbnail
Amos Fong, módosítva 14 év-val korábban

RE: Wiki's Portlet view only

Liferay Legend Bejegyzések: 2047 Csatlakozás dátuma: 2008.10.07. Legújabb bejegyzések
What do you mean "not the wiki's page"?

The update permission should control the title, content, tags, etc. (ie the edit button should be gone)
thumbnail
Kent Lee, módosítva 14 év-val korábban

RE: Wiki's Portlet view only

New Member Bejegyzések: 14 Csatlakozás dátuma: 2009.09.06. Legújabb bejegyzések
That's what I though at first too. I though that if I untick the update permission on the user, they won't able to change the content of the wiki. But the result was not what I expected. The edit button still exists there.

So you might say I had some wrong permission assignment. But when I untick the view action on the user, the user will get a message "permission denied" on viewing the wiki's page. Which is what I expected.
Michael Smith, módosítva 11 év-val korábban

RE: Wiki's Portlet view only

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.09.18. Legújabb bejegyzések
Kent,
Did you ever figure out how to keep a community (site) member from editing or updating anything with the wiki page?
thumbnail
Hitoshi Ozawa, módosítva 11 év-val korábban

RE: Wiki's Portlet view only

Liferay Legend Bejegyzések: 7942 Csatlakozás dátuma: 2010.03.24. Legújabb bejegyzések
I'm using liferay 6.1 and regular users aren't able to edit the wiki page. "Edit" icon and link is not appearing.

On the permission page in the "configuration", it's setup by default so that only "admin" have permission to edit.
Michael Smith, módosítva 11 év-val korábban

RE: Wiki's Portlet view only

New Member Bejegyzések: 2 Csatlakozás dátuma: 2012.09.18. Legújabb bejegyzések
I am also on 6.1, And having only View checked for a Site User, does not eliminate the edit link for me.