Skip to content

Commit

Permalink
#1432 Use manageShare permission instead of manageCase to check if a …
Browse files Browse the repository at this point in the history
…user can exporta case to MISP
  • Loading branch information
nadouani committed Jul 16, 2020
1 parent 00f3132 commit 0c43f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/views/partials/case/case.panelinfo.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h3 class="box-title text-primary">
</ul> -->
</span>

<span class="ml-xxs pull-right" ng-if="appConfig.connectors.misp.enabled">
<span class="ml-xxs pull-right" ng-if="appConfig.connectors.misp.enabled" if-permission="manageShare" allowed="{{userPermissions}}">
<span class="mr-xxs text-primary">|</span>
<a href ng-click="exportToMisp()" class="text-primary noline" uib-tooltip="Export case">
<i class="text-primary fa fa-share"></i>
Expand Down

0 comments on commit 0c43f15

Please sign in to comment.