예제 #1
0
        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);
            });
        }
예제 #2
0
        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);
            });
        }
예제 #3
0
 public void Authorization(AuthorizationReport report)
 {
 }
 public void Authorization(AuthorizationReport report)
 {
 }