Handle setting no access for user environment roles:
- use constant for no access string - update no access constant - update language and permissions for rendering remove app member button
This commit is contained in:
@@ -79,13 +79,15 @@
|
||||
{{ "portfolios.applications.team_settings.add_to_environment" | translate }}
|
||||
{{ Icon("plus") }}
|
||||
</a>
|
||||
<button
|
||||
type="button"
|
||||
class='usa-button button-danger'
|
||||
v-on:click="openModal('{{ delete_modal_id }}')"
|
||||
>
|
||||
{{ "portfolios.members.archive_button" | translate }}
|
||||
</button>
|
||||
{% if user_can(permissions.DELETE_APPLICATION_MEMBER) %}
|
||||
<button
|
||||
type="button"
|
||||
class='usa-button button-danger'
|
||||
v-on:click="openModal('{{ delete_modal_id }}')"
|
||||
>
|
||||
{{ "portfolios.applications.remove_member.button" | translate }}
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endcall %}
|
||||
{{ member_form.user_id() }}
|
||||
|
Reference in New Issue
Block a user