cancel
Showing results for 
Search instead for 
Did you mean: 

Approvment step roles problem

sebastien_marin
Champ in-the-making
Champ in-the-making
Hello,
i want to move a doc A from the space S1 to the space S2.

I have two users :
- writer witch can write or modify a doc,
- approver, witch can approve doc.

So writer is invite in S1 and S2 in collaborator. Approver is just invite in S1. It is editor.

The problem is that when the approver wants to approve the doc A. He has not the permission.

I try to understand why and  i saw 2 things :
To approve a doc :
- the approver has to have the permission on the doc A (that is to say it is the same user than the writer or to be admin user… (??? not really functionnable)…
- the approver have to be invited in the space S2 with a role that can create a content… So i don't want the approver create a contant on that space…

The problem is the same with 1.3 and 1.4 versions. 

So how can i do to have a real and functionnal approvment workflow.??


Thank you very much. Our uses of Alfresco depends on that…
7 REPLIES 7

gavinc
Champ in-the-making
Champ in-the-making
The 1.4 preview release has "advanced workflow" features. We have integrated the jBPM engine into Alfresco which now allows any type of workflow to be designed, deployed and executed.

The preview release has a very simple review and approve process built-in, you could use this a starting point for what you need.

sebastien_marin
Champ in-the-making
Champ in-the-making
The 1.4 preview release has "advanced workflow" features. We have integrated the jBPM engine into Alfresco which now allows any type of workflow to be designed, deployed and executed.

The preview release has a very simple review and approve process built-in, you could use this a starting point for what you need.

So i have a bad english.

If i understand, the futur release 1.4 workflow is an advanced workflow but it will never do what we nedd on my process.
And in a second time, you said that the 1.3 Release have a simple review of the workflow and that we can modify the source code to solve our problem…

I saw that an AccessDeniedException was throw when i try to approve.
It is in the "ExceptionTranslatorMethodInterceptor" class. That class invoke the method with an aop process… So what can i do? what is the better way to perform it in the 1.3 ???

sebastien_marin
Champ in-the-making
Champ in-the-making
Ok, sorry, i nothing understood…

It is ok now. So we use alfresco in a liferay portal. Is it possible to design the workflow with the user interface or is it in the class source? And is it possible to build and zip the class in the jar to use them in liferay as the same of 1.3 ?


Thank you and sorry for the bad preview translation.

The 1.4 preview release has "advanced workflow" features. We have integrated the jBPM engine into Alfresco which now allows any type of workflow to be designed, deployed and executed.

The preview release has a very simple review and approve process built-in, you could use this a starting point for what you need.

So i have a bad english.

If i understand, the futur release 1.4 workflow is an advanced workflow but it will never do what we nedd on my process.
And in a second time, you said that the 1.3 Release have a simple review of the workflow and that we can modify the source code to solve our problem…

I saw that an AccessDeniedException was throw when i try to approve.
It is in the "ExceptionTranslatorMethodInterceptor" class. That class invoke the method with an aop process… So what can i do? what is the better way to perform it in the 1.3 ???

gavinc
Champ in-the-making
Champ in-the-making
You can use the jBPM process designer to create your workflow definitions and then deploy them into Alfresco. There are details here: http://wiki.alfresco.com/wiki/WorkflowAdministration

Yes, we will be testing 1.4 in Liferay.

sebastien_marin
Champ in-the-making
Champ in-the-making
You can use the jBPM process designer to create your workflow definitions and then deploy them into Alfresco. There are details here: http://wiki.alfresco.com/wiki/WorkflowAdministration

Yes, we will be testing 1.4 in Liferay.

Ok, is it possible to solve our problem on the 1.3 version. So the main problem we have is that the approver does not have the rights on the doc to approve… So how can we disable the aop security ?


Thank you.

gavinc
Champ in-the-making
Champ in-the-making
It sounds like you need to have a custom permission group/roles defined, but it sounds like you have already worked this out going by the question in your other post: http://forums.alfresco.com/viewtopic.php?p=10607#10607

sebastien_marin
Champ in-the-making
Champ in-the-making
It sounds like you need to have a custom permission group/roles defined, but it sounds like you have already worked this out going by the question in your other post: http://forums.alfresco.com/viewtopic.php?p=10607#10607

You are right, i will try your solution of the post http://forums.alfresco.com/viewtopic.php?p=10607#10607 on the afternoon.

thank you for you quick answers.

I'll keep in touch.