로그인한 사용자 관리자여부 확인 수정

main
이범준 1 year ago
parent 0fb5f85224
commit 387a1b8c97

@ -144,7 +144,7 @@
<div class="row">
<label class="col-sm-3 col-form-label text-sm-end" for="status">상태</label>
<div class="col-sm-9">
<c:if test='${currentUser.hasAuthorities("ROLE_ADMIN")}'>
<c:if test='${currentUser.isAdmin()}'>
<div class="form-check form-check-inline mt-3">
<input name="status" value="P" type="radio" data-map="STTS" class="form-check-input"/>
<label class="form-check-label" for="approved">승인</label>
@ -158,7 +158,7 @@
<label class="form-check-label" for="removed">삭제</label>
</div>
</c:if>
<c:if test='${!currentUser.hasAuthorities("ROLE_ADMIN")}'>
<c:if test='${!currentUser.isAdmin()}'>
<input name="status" type="hidden" data-map="STTS" class="form-control" placeholder="상태"/>
<label class="col-form-label" for=STTS></label>
</c:if>

@ -72,7 +72,7 @@ function logout() {
});
}</c:if>
<c:if test="${currentUser.hasAuthorities('ROLE_ADMIN')}">
<c:if test="${currentUser.isAdmin()}">
async function selectURL(multiple) {
return new Promise(function(resolve, reject) {
ajax.get({

Loading…
Cancel
Save