%# 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; -%>
| Member | Type | Actions |
|---|---|---|
| <%= m.label %> | <%= m.kind === "group" ? "Group" : "User" %> |
Not assigned to anyone yet.
<% } -%>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.
<% } -%>