Projet

Général

Profil

Actions

Support #6718

fermé

Workflow:Droits sur les actions/états - Anomalie

Ajouté par Marc Avenel il y a plus de 9 ans. Mis à jour il y a environ 9 ans.

Statut:
Closed
Priorité:
Immediate
Assigné à:
-
Catégorie:
Workflow
Version cible:
-
Début:
22/07/2015
Echéance:
% réalisé:

0%

Temps estimé:
Navigateur:
Firefox
Votre version de Silverpeas:
5.14.4
Système d'exploitation:
Livraison en TEST:
Livraison en PROD:

Description

**PROBLEME TRES URGENT **************

Un etat appel deux actions.
Une action pour les rôles "Champion"
Une action pouir les rôles "Team"
Définition de l'état:
<state name="state_immediateEfficacity" timeoutNotifyAdmin="true">
<label role="default" lang="default">Waiting to Efficacity Immediate</label>
<workingUsers>
<relatedUser folderItem="init_processpilot" role="processPilote"/>
<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>
</workingUsers>
<interestedUsers>
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
<relatedUser folderItem="ctrl_escalate_routage_01" role="viewer"/>
<relatedUser folderItem="ctrl_escalate_routage_02" role="viewer"/>
<relatedUser participant="initiator" role="processInitiator"/>
</interestedUsers>
<allowedActions>
<allow action="action_immediateEfficacityChampion"/>
<allow action="action_immediateEfficacityTeam"/>
</allowedActions>
<timeOutActions>
<timeOutAction action="action_immediateRelaunchUserD10" delay="10d" order="1"/>
</timeOutActions>
</state>
Définition sur les 2 actions:
<action name="action_immediateEfficacityChampion" kind="update" form="form_immediateEfficacity">
<label role="default" lang="default">Approve Immediate Actions</label>
<allowedUsers>
<relatedUser folderItem="init_processpilot" role="processPilote"/>
</allowedUsers>
<consequences>
<consequence>
<kill>false</kill>
<set state="state_immediateApprove"/>
<notify message="Hello,&lt;BR&gt;For the MGIC Alert level ${folder.init_level}for about ${folder.init_entityDivision}, }${folder.init_entitySite}, ${folder.init_entitySubsidiary} ${folder.init_entityGroup} about dysfunction : ${folder.init_what}&lt;BR&gt;. You are defined champion of this MGI Coutier Alert&lt;BR&gt;You have to inform the date immediate action done and effectiveness&lt;BR&gt;Please find MGIC alert attached">
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="takeover_distribution_01" role="viewer"/>
<relatedUser folderItem="takeover_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
</notify>
<triggers/>
</consequence>
</consequences>
</action>
<action name="action_immediateEfficacityTeam" kind="update" form="form_immediateEfficacity">
<label role="default" lang="default">Complete Immediate Actions</label>
<allowedUsers>
<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>
</allowedUsers>
<consequences>
<consequence>
<kill>false</kill>
<set state="state_immediateEfficacity"/>
<notify message="Hello,&lt;BR&gt;For the MGIC Alert level ${folder.init_level}for about ${folder.init_entityDivision}, }${folder.init_entitySite}, ${folder.init_entitySubsidiary} ${folder.init_entityGroup} about dysfunction : ${folder.init_what}&lt;BR&gt;. You are defined champion of this MGI Coutier Alert&lt;BR&gt;You have to inform the date immediate action done and effectiveness&lt;BR&gt;Please find MGIC alert attached">
<relatedUser folderItem="init_distribution_01" role="viewer"/>
<relatedUser folderItem="init_distribution_02" role="viewer"/>
<relatedUser folderItem="takeover_distribution_01" role="viewer"/>
<relatedUser folderItem="takeover_distribution_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_01" role="viewer"/>
<relatedUser folderItem="immediate_pilot_02" role="viewer"/>
<relatedUser folderItem="immediate_pilot_03" role="viewer"/>
</notify>
<triggers/>
</consequence>
</consequences>
</action>

Les deux rôle voient les deux boutons d'action...???

Mis à jour par Sebastien Vuillet il y a plus de 9 ans

  • Statut changé de New à Feedback

Sur l'action "action_immediateEfficacityChampion" les utilisateurs autorisés sont :

<relatedUser folderItem="init_processpilot" role="processPilote"/>

Alors que sur l'action "action_immediateEfficacityTeam" les utilisateurs autorisés sont :

<relatedUser folderItem="takeover_user_01" role="processTeam"/>
<relatedUser folderItem="takeover_user_02" role="processTeam"/>
<relatedUser folderItem="takeover_user_03" role="processTeam"/>
<relatedUser folderItem="takeover_user_04" role="processTeam"/>
<relatedUser folderItem="takeover_user_05" role="processTeam"/>

La visibilité des boutons ne dépend donc pas des rôle "processPilote" et "processTeam", mais des personnes affectées aux items init_processpilot, takeover_user_01, takeover_user_02, takeover_user_03, takeover_user_04, takeover_user_05.

Si le même utilisateurs est sélectionnées dans ses items alors les deux boutons seront visibles.

Mis à jour par Nicolas Eysseric il y a environ 9 ans

  • Tracker changé de Bug à Support

Merci de clore le cas échéant...

Mis à jour par Marc Avenel il y a environ 9 ans

  • Statut changé de Feedback à Closed

Problème réglé
Merci

Actions

Formats disponibles : Atom PDF