Add button for enabling MRF TagPolicy

This commit is contained in:
Angelina Filippova 2020-11-07 02:55:22 +03:00
parent 40e402c780
commit b551987afa
2 changed files with 4 additions and 1 deletions

View file

@ -279,7 +279,7 @@ export default {
registrationReason: 'Registration Reason',
service: 'Service',
person: 'Person',
enableTagPolicy: 'Enable MRF TagPolicy to manage user tags',
enableTagPolicy: 'Enable MRF TagPolicy to manage tags',
confirmEnablingTagPolicy: 'Are you sure you want to add TagPolicy to the list of enabled MRF policies?',
enableTagPolicySuccessMessage: 'MRF TagPolicy was enabled',
customTags: 'Custom Tags',

View file

@ -117,6 +117,9 @@
</el-option>
</el-option-group>
</el-select>
<el-button v-if="!tagPolicyEnabled" type="text" @click.native.stop="enableTagPolicy">
{{ $t('users.enableTagPolicy') }}
</el-button>
</template>
</el-table-column>
<el-table-column v-if="pendingView && isDesktop" :label="$t('users.registrationReason')">