Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
How to define rules for web publishing Jean Noel Restelli January 21, 2008 2:06 AM
RE: How to define rules for web publishing JR Houn January 21, 2008 10:49 AM
RE: How to define rules for web publishing Morad Moradinho Morad January 21, 2008 11:02 AM
RE: How to define rules for web publishing Jorge Ferrer January 28, 2008 2:50 PM
RE: How to define rules for web publishing Morad Moradinho Morad January 29, 2008 6:10 AM
RE: How to define rules for web publishing Jorge Ferrer January 30, 2008 2:48 AM
RE: How to define rules for web publishing Jean Noel Restelli February 1, 2008 8:52 AM
RE: How to define rules for web publishing Ken Ko February 16, 2008 4:46 AM
RE: How to define rules for web publishing Jorge Ferrer February 17, 2008 3:09 AM
RE: How to define rules for web publishing Ken Ko February 17, 2008 3:57 PM
RE: How to define rules for web publishing Ken Ko February 17, 2008 7:21 PM
Re: [Liferay Forums][2. Using Liferay]RE: How to define rules for web publi Ray Augé February 18, 2008 9:34 PM
RE: How to define rules for web publishing Mahesh M October 21, 2008 2:31 AM
RE: How to define rules for web publishing Jorge Ferrer October 24, 2008 6:21 AM
RE: How to define rules for web publishing delang j December 4, 2008 7:20 AM
RE: How to define rules for web publishing Brian Scott Schupbach January 16, 2009 2:55 PM
RE: How to define rules for web publishing delang j January 18, 2009 8:34 AM
RE: How to define rules for web publishing Brian Scott Schupbach January 20, 2009 2:19 PM
Jean Noel Restelli
How to define rules for web publishing
January 21, 2008 2:06 AM
Answer

Jean Noel Restelli

Rank: New Member

Posts: 11

Join Date: January 21, 2008

Recent Posts

Hi,

I'm new in Liferay community and I'm testing it.
I want to use the Liferay CMS engine, I have already created my structure to write and publish articles (structure - templates).
If I have right, CMS engine include a workflow for web publishing including 3 steps for three rules.
Firstly, a writer who have rights to create articles.
Then, an editor to approve or rejet articles.
Finally, an administrator to publish articles in the site.

As it could be described on your website: Liferay Use cases for web publishing

It is possible to create roles through the 'Entreprise Admin' portlet three new roles for these operation (article write, article approve and article publishing) ?
If it's possible, how can I do this?

Thanks
JR Houn
RE: How to define rules for web publishing
January 21, 2008 10:49 AM
Answer

JR Houn

LIFERAY STAFF

Rank: Expert

Posts: 489

Join Date: November 19, 2007

Recent Posts

Hi Jean-
It is possible to configure roles to do the tasks you've described. You will have to use the enterprise admin portlet to create new roles for these users. Refer to:
http://wiki.liferay.com/index.php/How_to_Use_Community_Roles
You can make new roles like - 'Article Writer', 'Editor', 'Publisher'. From there you would have to set permissions for those roles relating to the portlets you want them to have access to. Once you've got the roles and permissions all set you can assign your users to those roles and it should work flawlessly.
hope this helps,
jr
Morad Moradinho Morad
RE: How to define rules for web publishing
January 21, 2008 11:02 AM
Answer

Morad Moradinho Morad

Rank: Junior Member

Posts: 41

Join Date: May 30, 2007

Recent Posts

It is possible to create roles through the 'Entreprise Admin' portlet three new roles for these operation (article write, article approve and article publishing) ?
If it's possible, how can I do this?


No you can't use roles but you can define three userGroup for validation but not three roles
Jorge Ferrer
RE: How to define rules for web publishing
January 28, 2008 2:50 PM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Morad,

May I ask why you think it's not possible to do it through user roles?
Morad Moradinho Morad
RE: How to define rules for web publishing
January 29, 2008 6:10 AM
Answer

Morad Moradinho Morad

Rank: Junior Member

Posts: 41

Join Date: May 30, 2007

Recent Posts

Jorge Ferrer:
Hi Morad,

May I ask why you think it's not possible to do it through user roles?


I think that because in the journal portlet configuration, the permissions to affect addArticle to one user, approve article to another one are available only by users, communauty, userGroups... and not for roles

Is right?
Jorge Ferrer
RE: How to define rules for web publishing
January 30, 2008 2:48 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Morad,

That configuration applies only to that specific portlet instance. To create general roles for the whole portal (or specific communities) it's easier to use the Enterprise Admin portlet, create a role and then click "Define permissions".

Furthermore, in 4.4 roles are also available as an option in the UI you mention for a specific portlet instance or any data entry.
Jean Noel Restelli
RE: How to define rules for web publishing
February 1, 2008 8:52 AM
Answer

Jean Noel Restelli

Rank: New Member

Posts: 11

Join Date: January 21, 2008

Recent Posts

Hi,

Thank you for your answers.
I'm now using the 4.4 version of Liferay, and I created 2 specifics rules.
The first for articles writers and the second for reviewers.
It works now ... emoticon
Ken Ko
RE: How to define rules for web publishing
February 16, 2008 4:46 AM
Answer

Ken Ko

Rank: Junior Member

Posts: 35

Join Date: September 23, 2007

Recent Posts

I'm having trouble defining permissions for these roles...

Could you tell me what are the actual permissions, and for which portlets (journal?), are required for each of the 3 roles:
- editor
- approver
- publisher

I'm using version 4.3.6

I can't get a role which is allowed to approve a journal article. Please help! thanks
Jorge Ferrer
RE: How to define rules for web publishing
February 17, 2008 3:09 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Ken,

You should be able to do it by assigning the "Approve Article" permission within the Journal portlet. In 4.3.6 the UI is a little bit complex (has been fixed in 4.4) and after selecting the Journal portlet you have to click the button "Next" to get the the "top level" permissions of that portlet.
Ken Ko
RE: How to define rules for web publishing
February 17, 2008 3:57 PM
Answer

Ken Ko

Rank: Junior Member

Posts: 35

Join Date: September 23, 2007

Recent Posts

Thanks very much for the tip Jorge!
I managed to get the workflow I wanted in version 4.3.6
Ken Ko
RE: How to define rules for web publishing
February 17, 2008 7:21 PM
Answer

Ken Ko

Rank: Junior Member

Posts: 35

Join Date: September 23, 2007

Recent Posts

I should probably start a new thread, but while we are on the topic...

Seems that even when force increment version is set to true using:
journal.article.force.increment.version=true

All this does is change the client side checkbox to checked and disabled.
So it is subject to client side hacking (e.g. in firebug) to bypass the increment.

This means that even when force increment is true, and the user does not have approval rights, they can edit an existing approved article, and this will be displayed to everyone.

I found this for version 4.3.6
Has it been fixed in version 4.4.x?
Ray Augé
Re: [Liferay Forums][2. Using Liferay]RE: How to define rules for web publi
February 18, 2008 9:34 PM
Answer

Ray Augé

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1171

Join Date: February 7, 2005

Recent Posts

> All this does is change the client side checkbox to checked and disabled.
> So it is subject to client side hacking (e.g. in firebug) to bypass the increment.


Can you file a bug report for this?


> This means that even when force increment is true, and the user does not have approval rights, they can edit an existing approved article, and this will be displayed to everyone.


The incremented version of an approved article is not automatically
approved. So, though this could still be considered somewhat of a pain
(which, as above, we should fix)... it's not really a security issue.
Mahesh M
RE: How to define rules for web publishing
October 21, 2008 2:31 AM
Answer

Mahesh M

Rank: New Member

Posts: 7

Join Date: October 21, 2008

Recent Posts

Hi Jorge,

I am new in liferay portal, please tell me how to create role such as writer,editor & publish & also tell me how it's configure with porltet. i m used liferay portal 5.1

Thanks & Regards

Mahesh
Jorge Ferrer
RE: How to define rules for web publishing
October 24, 2008 6:21 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2756

Join Date: August 31, 2006

Recent Posts

Hi Manesh,

Take a look at the manuals and screen casts of the documentation page. You'll find plenty of information for what you want to do.
delang j
RE: How to define rules for web publishing
December 4, 2008 7:20 AM
Answer

delang j

Rank: Regular Member

Posts: 223

Join Date: July 13, 2008

Recent Posts

thanks for the info. im also done the same thing and it work. i created two role (editor,approver) which is editor can add article,edit and update. approver can add,edit,update and approve.

but i have a few more question.
1. can we set editor can view/see it own article only?
2. can we set editor can't edit approved article?

thanks
Brian Scott Schupbach
RE: How to define rules for web publishing
January 16, 2009 2:55 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 331

Join Date: October 23, 2008

Recent Posts

I also would really like to see a writer/editor not be able to edit an article once it has been approved. I would like them to have to increment the version of the article and then have the new version approved before it is live.

Is this something that already exists? or is it possible to get it working this way?

I'm using version 4.4.1.

Thank You,

Brian
delang j
RE: How to define rules for web publishing
January 18, 2009 8:34 AM
Answer

delang j

Rank: Regular Member

Posts: 223

Join Date: July 13, 2008

Recent Posts

brian, i think you should set auto increment version at portal-ext.properties
journal.article.force.increment.version=true
Brian Scott Schupbach
RE: How to define rules for web publishing
January 20, 2009 2:19 PM
Answer

Brian Scott Schupbach

Rank: Expert

Posts: 331

Join Date: October 23, 2008

Recent Posts

Thanks! I have it working now!