Manage forward authentication rules for domain-based access control.
| Domain Pattern | Headers | Groups | Status | Actions |
|---|---|---|---|---|
| <%= link_to rule.domain_pattern, admin_forward_auth_rule_path(rule), class: "text-blue-600 hover:text-blue-900" %> | <% if rule.headers_config.blank? %> Default <% elsif rule.headers_config.values.all?(&:blank?) %> None <% else %> Custom <% end %> | <% if rule.allowed_groups.empty? %> All users <% else %> <%= rule.allowed_groups.count %> groups <% end %> | <% if rule.active? %> Active <% else %> Inactive <% end %> |
<%= link_to "View", admin_forward_auth_rule_path(rule), class: "text-blue-600 hover:text-blue-900 whitespace-nowrap" %>
<%= link_to "Edit", edit_admin_forward_auth_rule_path(rule), class: "text-blue-600 hover:text-blue-900 whitespace-nowrap" %>
<%= button_to "Delete", admin_forward_auth_rule_path(rule), method: :delete, data: { turbo_confirm: "Are you sure you want to delete this forward auth rule?" }, class: "text-red-600 hover:text-red-900 whitespace-nowrap" %>
|