[Developer] #424 show VPD policy details

This commit is contained in:
devmrko
2026-06-25 11:18:22 +09:00
parent 86e2b252c9
commit 1c3894cb40
7 changed files with 167 additions and 23 deletions

View File

@@ -0,0 +1,27 @@
<!doctype html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<body>
<div th:fragment="detail">
<div class="alert alert-warning mb-0" th:if="${errorMessage}" th:text="${errorMessage}"></div>
<div class="probe-exchange-grid" th:if="${detail}">
<section class="probe-exchange">
<h3>Policy Metadata</h3>
<pre th:text="${'Object: ' + detail.policy().objectDisplayName()
+ '\nPolicy Group: ' + detail.policy().policyGroup()
+ '\nPolicy Name: ' + detail.policy().policyName()
+ '\nFunction: ' + detail.policy().functionDisplayName()
+ '\nStatement Types: ' + detail.policy().statementTypes()
+ '\nEnabled: ' + detail.policy().enabled()
+ '\nPolicy Type: ' + detail.policy().policyType()
+ '\nCheck Option: ' + detail.policy().checkOption()
+ '\nStatic Policy: ' + detail.policy().staticPolicy()
+ '\nLong Predicate: ' + detail.policy().longPredicate()}"></pre>
</section>
<section class="probe-exchange">
<h3>DBMS_RLS.ADD_POLICY</h3>
<pre th:text="${detail.ddl()}"></pre>
</section>
</div>
</div>
</body>
</html>