<div class="role-display">
  {%- match self -%}
  {%- when Self::TableOwner { relname, .. } -%}
  <div class="role-display__resource">{{ relname }}</div>
  <div class="role-display__description">owner</div>
  {%- when Self::TableReader { relname, .. } -%}
  <div class="role-display__resource">{{ relname }}</div>
  <div class="role-display__description">reader</div>
  {%- when Self::TableWriter { relname, .. } -%}
  <div class="role-display__resource">{{ relname }}</div>
  <div class="role-display__description">writer</div>
  {%- when Self::Unknown { rolname } -%}
  <div class="role-display__description">{{ rolname }}</div>
  <div class="role-display__description">member</div>
  {%- endmatch -%}
</div>
