[Developer] #424 show VPD policy details
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user