workflow view permission
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2014 02:04 PM
Hi -
I need my users to be able to see all workflows, whether they are the owner or not.
I changed public-services-security-context.xml (v4.2.e) where bean WorkflowService_security is now class org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.
That helped my users view "All Active Tasks" (dashlet). But what about Completed Tasks (dashlet)?
HELLLLPPPP!!
thanks!!!
I need my users to be able to see all workflows, whether they are the owner or not.
I changed public-services-security-context.xml (v4.2.e) where bean WorkflowService_security is now class org.alfresco.repo.security.permissions.impl.AlwaysProceedMethodInterceptor.
That helped my users view "All Active Tasks" (dashlet). But what about Completed Tasks (dashlet)?
HELLLLPPPP!!
thanks!!!
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 05:06 AM
You also need to fetch those task and add them into list of tasks. I have not checked exactly how it is done in share but in Alfresco webclient I had done this by using workflow service to fetch all completed tasks then added that list to regular list which is being rendered on UI.
Hope this will give you right direction for implementing it in share.
Hope this will give you right direction for implementing it in share.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2014 09:57 AM
Yes, I need for Alfresco web client (not Share). I have to ask… Could you pleeeease provide an example? I'd really appreciate it.
Thanks in advance.
Thanks in advance.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2014 01:01 AM
If you check Workflow service there is following API
http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/workflow/WorkflowServ...
java.util.List getWorkflowsForContent(org.alfresco.service.cmr.repository.NodeRef packageItem, boolean active)
Gets the Workflows that act upon the specified Repository content.
if you pass boolean value as false it will return you all completed workflows for particular content.Then you can add that list to existing list.
May be use can user other apis as well as per your need.
http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/workflow/WorkflowServ...
java.util.List getWorkflowsForContent(org.alfresco.service.cmr.repository.NodeRef packageItem, boolean active)
Gets the Workflows that act upon the specified Repository content.
if you pass boolean value as false it will return you all completed workflows for particular content.Then you can add that list to existing list.
May be use can user other apis as well as per your need.