Задайте вопросЗадайте вопрос
 

ВопросHiding standard Approve/Reject options

  • 11 марта 2008 г. 15:08Brian Halkjær Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     

    Hi,

     

    I have a document library, where I am using a custom workflow for approval, which relies on the approver role. I would like for this workflow to be the only way that documents can be approved. The workflow forces a number of approvers to approve the document in sequence, and no single person with the approver right should be able to approve the document without involving the other approvers. I would like to disable all other mechanisms of approval. By customizing the java script I have successfully removed the Approve/Reject menu item in the documents context menu. Now what I need to do is:

     

    1. Remove the Approve/Reject menu item on the display and edit forms (this seems not to be a custom action, at least I cannot figure out which one it is. If it was, I could just make a HideCustomAction feature).
    2. Disable the _layouts/approve.aspx page, as this would enable skilled users to gain access to the approval functionality even though there are no menu items - simply by typing the correct URL.

     

    I hope that someone will be able to help me out on this, as it is quite cruisial to our system, that all approvers must participate.

     

    Thanks,

     

    Brian

Все ответы