Workflow Details page only visible to admin and user's having manager as there role.

cancel
Showing results for 
Search instead for 
Did you mean: 
akash251998
Established Member II

Workflow Details page only visible to admin and user's having manager as there role.

I want that the Workflow Details page should be visible to only admin and user having the role manager.

How to do that.

5 Replies
sanjaybandhniya
Intermediate

Re: Workflow Details page only visible to admin and user's having manager as there role.

We can achieve this but at many place we need to make changes.

By Default behavior is visible to owner of the workflow and base on that api is returning data.

akash251998
Established Member II

Re: Workflow Details page only visible to admin and user's having manager as there role.

Can you please tell me at what places we have to make changes . If you know you can tell me. So that i can try.

 

sanjaybandhniya
Intermediate

Re: Workflow Details page only visible to admin and user's having manager as there role.

You need to go step by step.

1)Check how you can unable workflow details menu

2)Check which webscript is getting call to get workflow details pgge history and override that webscript.

3)You need to modify workflowIntercepter also.

akash251998
Established Member II

Re: Workflow Details page only visible to admin and user's having manager as there role.

Dear sir, 

 

I am not too much good in ajax and all so if you can give me how to customize the code that will be very good for me.

@abhinavmishra14  please look into this i hope that you can help me.

 

Regards

Akash 

sanjaybandhniya
Intermediate

Re: Workflow Details page only visible to admin and user's having manager as there role.

Try to explore alfresco sdk which  is used for making development of alfresco feature or change.

https://docs.alfresco.com/5.2/concepts/sdk-getting-started.html

You can use surfbug to identify which file you need to change.

https://docs.alfresco.com/4.0/concepts/Surf_v4_surfbug.html