@@ -40,6 +40,10 @@
|
||||
규칙 값
|
||||
<input class="form-control" name="ruleValue" placeholder="APAC 또는 HR">
|
||||
</label>
|
||||
<label>
|
||||
표시 컬럼
|
||||
<input class="form-control" name="visibleColumns" placeholder="CONTENTS">
|
||||
</label>
|
||||
<button class="btn btn-primary" type="submit">저장</button>
|
||||
</form>
|
||||
</section>
|
||||
@@ -55,6 +59,7 @@
|
||||
<th>테이블/뷰</th>
|
||||
<th>Action</th>
|
||||
<th>행 규칙</th>
|
||||
<th>표시 컬럼</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -65,6 +70,7 @@
|
||||
<td th:text="${permission.objectName()}">CB_V_SEARCH_DOCUMENTS</td>
|
||||
<td th:text="${permission.action()}">SELECT</td>
|
||||
<td th:text="${permission.rules()} ?: '-'">ALL</td>
|
||||
<td th:text="${permission.visibleColumns()} ?: '-'">CONTENTS</td>
|
||||
<td>
|
||||
<form method="post" action="/permissions/delete" class="inline-form">
|
||||
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
|
||||
@@ -74,7 +80,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr th:if="${#lists.isEmpty(permissions)}">
|
||||
<td colspan="6" class="text-muted">등록된 권한이 없습니다.</td>
|
||||
<td colspan="7" class="text-muted">등록된 권한이 없습니다.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@@ -27,10 +27,6 @@
|
||||
부서코드
|
||||
<input class="form-control" name="deptCode" required>
|
||||
</label>
|
||||
<label class="form-check form-switch switch-field">
|
||||
<input class="form-check-input" name="canReadContents" type="checkbox" value="true">
|
||||
<span class="form-check-label">민감 컬럼 표시</span>
|
||||
</label>
|
||||
<button class="btn btn-primary" type="submit">추가</button>
|
||||
</form>
|
||||
</section>
|
||||
@@ -45,7 +41,6 @@
|
||||
<th>사용자명</th>
|
||||
<th>사번</th>
|
||||
<th>부서</th>
|
||||
<th>민감 컬럼</th>
|
||||
<th>상태</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
@@ -56,7 +51,6 @@
|
||||
<td th:text="${user.username()}">agent_hr</td>
|
||||
<td th:text="${user.empNo()}">E10234</td>
|
||||
<td th:text="${user.deptCode()}">HR</td>
|
||||
<td><span class="badge" th:classappend="${user.canReadContents() == 'Y'} ? ' text-bg-success' : ' text-bg-secondary'" th:text="${user.canReadContents()}">N</span></td>
|
||||
<td><span class="badge" th:classappend="${user.active()} ? ' text-bg-success' : ' text-bg-secondary'" th:text="${user.activeYn()}">Y</span></td>
|
||||
<td>
|
||||
<form method="post" action="/users/active" class="inline-form">
|
||||
@@ -68,7 +62,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr th:if="${#lists.isEmpty(users)}">
|
||||
<td colspan="7" class="text-muted">등록된 사용자가 없습니다.</td>
|
||||
<td colspan="6" class="text-muted">등록된 사용자가 없습니다.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user