fix(tkuser): 권한 사용자에게 비밀번호 변경 폼 중복 표시 제거

tkuser.users 권한이 있는 일반 사용자에게 adminSection과
passwordChangeSection이 동시 표시되던 문제 수정.
비밀번호 변경 폼은 아무 권한 없는 사용자 fallback으로만 표시.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-25 15:43:22 +09:00
parent 280efc46ed
commit 7abf62620b
2 changed files with 1 additions and 2 deletions

View File

@@ -2388,7 +2388,7 @@
</div> </div>
<!-- JS: Core (config, token, api, toast, helpers, init) --> <!-- JS: Core (config, token, api, toast, helpers, init) -->
<script src="/static/js/tkuser-core.js?v=2026032303"></script> <script src="/static/js/tkuser-core.js?v=2026032501"></script>
<!-- JS: Tabs --> <!-- JS: Tabs -->
<script src="/static/js/tkuser-tabs.js?v=2026032301"></script> <script src="/static/js/tkuser-tabs.js?v=2026032301"></script>
<!-- JS: Individual modules --> <!-- JS: Individual modules -->

View File

@@ -166,7 +166,6 @@ async function init() {
// tkuser.users 권한 시 adminSection + passwordChangeSection 표시 // tkuser.users 권한 시 adminSection + passwordChangeSection 표시
if (currentUserAllowedTabs.has('users')) { if (currentUserAllowedTabs.has('users')) {
document.getElementById('adminSection').classList.remove('hidden'); document.getElementById('adminSection').classList.remove('hidden');
document.getElementById('passwordChangeSection').classList.remove('hidden');
await loadDepartmentsCache(); await loadDepartmentsCache();
await loadUsers(); await loadUsers();
} else { } else {