cancel
Showing results for 
Search instead for 
Did you mean: 

Simple workflow and permissions on spaces

giannic
Champ in-the-making
Champ in-the-making
Hello,
I'm testing and discovering Alfresco Community 3.2 and I have a question about spaces security and a simple workflow implementation.
I would like to setup a simple workflow based on 3 spaces: "Drafts", "Pending Approval" and "Published" and working with 2 users: "user A" and "manager B".
The "user A" create a document in space "Drafts" and with a simple workflow rule can "submit for approval" the document that will be moved to space "Pending Approval".
Here the "manager B" has a simple workflow with 2 options: "Approved" that will move the document to space "Published" and "Re-submit" that move the document back to space "Drafts".
The permissions are set in this way:
Space “Drafts”: “user A” – Contributor, “manager B” – Consumer
Space “Pending Approval”: “user A” – Consumer”, “manager B” – Contributor
Space “Published”: “user A” – Consumer, “manager B” – Consumer

My problem is that “user A” can’t run the simple workflow in “Draft” to move the document to “Pending Approval” because I have a message: Failed to approve the document due to system error: 09210003 Access Denied. You do not have the appropriate permissions to perform this operation.

In the same way “manager B” can’t run the simple workflow in “Pending Approval” to move the documents to “Published” or back to “Drafts” for the same reason, I have the same error.

Any idea how to fix that? A solution is to give the Contributor permission to both users on all 3 spaces, but for me is too much permissions.

(I’m trying to setup the workflow following the article: http://www.packtpub.com/article/implementing-workflow-alfresco-3 and I’m using a new install on a Windows host with default parameters)
3 REPLIES 3

pjcaracuel
Champ in-the-making
Champ in-the-making
Hi,

In order to move document to a space, you must have permmisions the contributor (minimun) in both spaces.
A solution is to give the Contributor permission to both users on all 3 spaces, but for me is too much permissions.

I think that is the correct way to do it.

Regards

giannic
Champ in-the-making
Champ in-the-making
Hi,
thanks for your reply, it confirm what I found testing.
I thought I did something wrong because the article (http://www.packtpub.com/article/implementing-workflow-alfresco-3) tell to put strict access on the spaces.

But you confirm that I need to add Contributor role to move a document to a space.

Thanks
Regards

pjcaracuel
Champ in-the-making
Champ in-the-making
Hi,

I think that to create a document you must have role Contributor. To move document you must have role Coordinator in source space and Contributor in target space.

See that post
http://forums.alfresco.com/en/viewtopic.php?p=11434

Regards