- extends 'manage_group_base.haml' - block 'content' .cardSection .cardTitle %h3 Access Control Policy - if group_preferences.access_control_use Access control is restricting access to group's creator and those who were explicitly allowed. - else Access control is restricting access to group's admins as a whole, ignoring the list below. %span>= ' ' %a.btn.btn-warn{'href': "{% url 'manage_group_accesscontroluse' group_id %}"}< %i.fa.fa-pencil> %span>= ' ' Edit .cardSection .cardTitle %h3 Access Control Grants - with group_preferences.access_control_grants.all as grants - if grants %ul - for grant in grants %li< #{grant.allows.name} (#{grant.allows.telegram_id}) {% if grant.allows.telegram_username %}@#{grant.allows.telegram_username}{% endif %} %span>= ' ' %a.btn.btn-danger{'href': "{% url 'manage_group_accesscontrolgrant_delete' group_id grant.id %}"}< %i.fa.fa-user-times> %span>= ' ' Revoke - else %em.textMuted No one has received explicit access yet .add-button %a.btn.btn-success{'href': "{% url 'manage_group_accesscontrolgrant' group_id %}"}< %i.fa.fa-user-plus> %span>= ' ' Add Access Control Grant