Verified Commit 5d066e84 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

fix : blacklist definitive transfer

parent 126b61ad
Pipeline #4137 passed with stage
in 6 minutes and 5 seconds
......@@ -343,7 +343,8 @@ blacklistUserStories = "[
; TPA
;blacklistUserStories = "[
; 'adminFunc/contact',
; 'adminArchive/adminStorageRule'
; 'adminArchive/adminStorageRule',
; 'definitiveTransfer/*'
;]"
csrfWhiteList = "['user/login', 'user/password']"
......
......@@ -17,7 +17,7 @@
<li class="flagForRestitution" data-type="flagForRestitution"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Flag for restitution</a></li>
<?merge hasDestructionPrivilege.bool() ?>
<li class="flagForDestruction [?merge .status.ifeq('disposable').then('hide', '') ?]" data-type="flagForDestruction"><a href="#"><i class="fa fa-trash">&nbsp;</i>&nbsp;Flag for destruction</a></li>
<?merge hasDestructionPrivilege.bool() ?>
<?merge hasDestructionCancelPrivilege.bool() ?>
<li class="cancelDestruction [?merge .status.ifne('disposable').then('hide', '') ?]" data-type="cancelDestruction"><a href="#"><i class="fa fa-undo">&nbsp;</i>&nbsp;Cancel destruction request</a></li>
<?merge hasTransferPrivilege.bool() ?>
<li class="flagForTransfer" data-type="flagForTransfer"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Flag for transfer</a></li>
......
......@@ -9,10 +9,18 @@
<li class="unfreeze" data-type="unfreeze"><a href="#"><i class="fa fa-unlock">&nbsp;</i>&nbsp;Unfreeze</a></li>
<?merge hasModificationPrivilege.bool() ?>
<li class="divider"></li>
<?merge hasDeliveryPrivilege.bool() ?>
<li class="requestDelivery" data-type="requestCommunication"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Request of communication</a></li>
<?merge hasModificationRequestPrivilege.bool() ?>
<li class="requestModification" data-type="requestModification"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Request a modification</a></li>
<?merge hasDestructionPrivilege.bool() ?>
<li class="flagForDestruction" data-type="flagForDestruction"><a href="#"><i class="fa fa-trash">&nbsp;</i>&nbsp;Flag for destruction</a></li>
<?merge hasDestructionPrivilege.bool() ?>
<?merge hasDestructionCancelPrivilege.bool() ?>
<li class="cancelDestruction" data-type="cancelDestruction"><a href="#"><i class="fa fa-undo">&nbsp;</i>&nbsp;Cancel destruction request</a></li>
<?merge hasRestitutionPrivilege.bool() ?>
<li class="flagForRestitution" data-type="flagForRestitution"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Flag for restitution</a></li>
<?merge hasTransferPrivilege.bool() ?>
<li class="flagForTransfer" data-type="flagForTransfer"><a href="#"><i class="fa fa-upload">&nbsp;</i>&nbsp;Flag for transfer</a></li>
<?merge hasDestructionPrivilege.bool() ?>
<li class="divider"></li>
<?merge hasIntegrityCheckPrivilege.bool() ?>
......
......@@ -43,15 +43,6 @@ interface destructionRequestInterface
*/
public function updateRecordsmanagementDispose($archiveIds, $comment = null, $identifier = null);
/**
* Cancel destruction
* @param array $archiveIds Array of archive identifier
*
* @uses recordsManagement/archives/updateCancelDestruction
* @return recordsManagement/archive/cancelDestruction
*/
public function updateRecordsmanagementCanceldestruction($archiveIds);
/**
* Resource destruction
* @param array $resIds Id List of resource
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment