%# Admin permission detail body, captured into the shell content slot. Config: permission { name } members { action, rows: { kind:"group"|"identity", label, subject }[] } action = revoke endpoint effective { label }[] users who hold the permission (expand) add { action, options: {label,value}[] } action = assign endpoint del { action } delete the whole permission csrfToken, error? %><% const permission = locals.permission; const members = locals.members; const effective = locals.effective; const add = locals.add; const del = locals.del; const csrf = locals.csrfToken; -%>
| <%= t("admin.common.member") %> | <%= t("admin.common.type") %> | <%= t("table.actions") %> |
|---|---|---|
| <%= m.label %> | <%= m.kind === "group" ? t("admin.common.group") : t("admin.common.user") %> |
<%= t("admin.permissions.noMembers") %>
<% } -%>Everyone who holds this permission — directly or through a group (resolved by Keto).
<% if (effective.length) { -%>No users hold this permission yet.
<% } -%>All users and groups already have this permission.
<% } -%>