public void Authorization(AuthorizationReport report) { var table = addDetail().Text("Authorization").Add <TableTag>(); table.AddClass("details"); table.AddHeaderRow(row => { row.Header("Policy"); row.Header("Vote"); }); report.Details.Each(binding => { table.AddBodyRow(row => { row.Cell(binding.PolicyDescription); row.Cell(binding.Vote); }); }); table.AddFooterRow(footer => { footer.AddClass("authz-decision"); footer.Cell("Decision"); footer.Cell(report.Decision); }); }
public void Authorization(AuthorizationReport report) { var table = addDetail().Text("Authorization").Add<TableTag>(); table.AddClass("details"); table.AddHeaderRow(row => { row.Header("Policy"); row.Header("Vote"); }); report.Details.Each(binding => { table.AddBodyRow(row => { row.Cell(binding.PolicyDescription); row.Cell(binding.Vote); }); }); table.AddFooterRow(footer => { footer.AddClass("authz-decision"); footer.Cell("Decision"); footer.Cell(report.Decision); }); }
public void Authorization(AuthorizationReport report) { }
public void Authorization(AuthorizationReport report) { }