<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Add permission when clicking on Reassign task in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/add-permission-when-clicking-on-reassign-task/m-p/314945#M1946</link>
    <description>&lt;P&gt;I'm using Nuxeo IDE 7.10 , i want to add a permission to the current user &lt;CODE&gt;when clicking on reassign task button&lt;/CODE&gt;(Workflow). Maybe i should use the operation &lt;CODE&gt;Document.AddPermission&lt;/CODE&gt; but i don't know how, can you tell how to do this ?&lt;/P&gt;
&lt;P&gt;Here is the widget of the button :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;widget name="reassign_task_widget" type="documentActionWithForms"&amp;gt;
        &amp;lt;fields&amp;gt;
          &amp;lt;field&amp;gt;#{routingTaskActions.getTaskInfo(layoutValue,
            true)}
          &amp;lt;/field&amp;gt;
        &amp;lt;/fields&amp;gt;
        &amp;lt;properties widgetMode="any"&amp;gt;
          &amp;lt;property name="actionId"&amp;gt;reassignTask&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionStyleClass"&amp;gt;smallButton&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionsDisplay"&amp;gt;buttons&amp;lt;/property&amp;gt;
          &amp;lt;property name="useAjaxForm"&amp;gt;true&amp;lt;/property&amp;gt;
          &amp;lt;property name="ignoreTemplateProperty"&amp;gt;true&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionContextDocument"&amp;gt;#{layoutValue.getDocument()}
          &amp;lt;/property&amp;gt;
        &amp;lt;/properties&amp;gt;
        &amp;lt;widgetModes&amp;gt;
          &amp;lt;mode value="any"&amp;gt;#{routingTaskActions.canBeReassign()?'edit':'hidden'}
          &amp;lt;/mode&amp;gt;
      &amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Mar 2016 11:55:44 GMT</pubDate>
    <dc:creator>ITShine_</dc:creator>
    <dc:date>2016-03-30T11:55:44Z</dc:date>
    <item>
      <title>Add permission when clicking on Reassign task</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/add-permission-when-clicking-on-reassign-task/m-p/314945#M1946</link>
      <description>&lt;P&gt;I'm using Nuxeo IDE 7.10 , i want to add a permission to the current user &lt;CODE&gt;when clicking on reassign task button&lt;/CODE&gt;(Workflow). Maybe i should use the operation &lt;CODE&gt;Document.AddPermission&lt;/CODE&gt; but i don't know how, can you tell how to do this ?&lt;/P&gt;
&lt;P&gt;Here is the widget of the button :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;widget name="reassign_task_widget" type="documentActionWithForms"&amp;gt;
        &amp;lt;fields&amp;gt;
          &amp;lt;field&amp;gt;#{routingTaskActions.getTaskInfo(layoutValue,
            true)}
          &amp;lt;/field&amp;gt;
        &amp;lt;/fields&amp;gt;
        &amp;lt;properties widgetMode="any"&amp;gt;
          &amp;lt;property name="actionId"&amp;gt;reassignTask&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionStyleClass"&amp;gt;smallButton&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionsDisplay"&amp;gt;buttons&amp;lt;/property&amp;gt;
          &amp;lt;property name="useAjaxForm"&amp;gt;true&amp;lt;/property&amp;gt;
          &amp;lt;property name="ignoreTemplateProperty"&amp;gt;true&amp;lt;/property&amp;gt;
          &amp;lt;property name="actionContextDocument"&amp;gt;#{layoutValue.getDocument()}
          &amp;lt;/property&amp;gt;
        &amp;lt;/properties&amp;gt;
        &amp;lt;widgetModes&amp;gt;
          &amp;lt;mode value="any"&amp;gt;#{routingTaskActions.canBeReassign()?'edit':'hidden'}
          &amp;lt;/mode&amp;gt;
      &amp;lt;/widget&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Mar 2016 11:55:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/add-permission-when-clicking-on-reassign-task/m-p/314945#M1946</guid>
      <dc:creator>ITShine_</dc:creator>
      <dc:date>2016-03-30T11:55:44Z</dc:date>
    </item>
  </channel>
</rss>

