ROLE_ADMIN 권한을 가지고 있는 사용자만 권한그룹 추가,삭제, 기능그룹 매핑 가능하도록 수정

main
이범준 12 months ago
parent aa18f64eae
commit 3c4918db77

@ -2,8 +2,10 @@
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
<div class="d-flex flex-row justify-content-end p-3">
<div>
<button class="btn btn-primary w-px-80" id="btnAddAuthActions" onclick="${infoPrefix}Control.addActions();">+ 추가</button>
<button class="btn btn-danger w-px-80" id="btnRemoveAuthActions" onclick="removeAuthActions();">- 제거</button>
<c:if test="${currentUser.isAdmin()}">
<button class="btn btn-primary w-px-80" id="btnAddAuthActions" onclick="${infoPrefix}Control.addActions();">+ 추가</button>
<button class="btn btn-danger w-px-80" id="btnRemoveAuthActions" onclick="removeAuthActions();">- 제거</button>
</c:if>
</div>
</div>
<table class="datatables-ajax table table-bordered dataTable no-footer" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">

@ -27,8 +27,10 @@
</div>
<div>
<button class="btn btn-search w-px-80" onclick="search${infoPrefix}s();">검색</button>
<button class="btn btn-primary w-px-80" onclick="${infoPrefix}Control.authorities.newInfo();">+ 추가</button>
<button class="btn btn-danger w-px-80" id="btnRemove${infoPrefix}s" onclick="remove${infoPrefix}s();">- 제거</button>
<c:if test="${currentUser.isAdmin()}">
<button class="btn btn-primary w-px-80" onclick="${infoPrefix}Control.authorities.newInfo();">+ 추가</button>
<button class="btn btn-danger w-px-80" id="btnRemove${infoPrefix}s" onclick="remove${infoPrefix}s();">- 제거</button>
</c:if>
</div>
</div>
<table class="datatables-ajax table table-bordered dataTable no-footer" id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">

Loading…
Cancel
Save