Merge pull request #3704 from emanuelschuetze/fixRecommendationExtensionField

Add missing permission check for recommendation extension field.
This commit is contained in:
Emanuel Schütze 2018-04-13 14:21:47 +02:00 committed by GitHub
commit 11ba5a7c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,8 +232,8 @@
<div class="label" ng-if="motion.recommendation" ng-class="'label-'+motion.recommendation.css_class">
{{ motion.getRecommendationName() }}
</div>
<div class="input-group spacer"
ng-if="motion.recommendation.show_recommendation_extension_field">
<div os-perms="motions.can_manage" class="input-group spacer"
ng-show="motion.recommendation.show_recommendation_extension_field">
<label class="sr-only" for="recommendationExtensionField">
{{ commentsFields[commentFieldForRecommendationId].name }}
</label>