fix(tkuser): 권한 사용자에게 비밀번호 변경 폼 중복 표시 제거
tkuser.users 권한이 있는 일반 사용자에게 adminSection과 passwordChangeSection이 동시 표시되던 문제 수정. 비밀번호 변경 폼은 아무 권한 없는 사용자 fallback으로만 표시. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2388,7 +2388,7 @@
|
||||
</div>
|
||||
|
||||
<!-- 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 -->
|
||||
<script src="/static/js/tkuser-tabs.js?v=2026032301"></script>
|
||||
<!-- JS: Individual modules -->
|
||||
|
||||
@@ -166,7 +166,6 @@ async function init() {
|
||||
// tkuser.users 권한 시 adminSection + passwordChangeSection 표시
|
||||
if (currentUserAllowedTabs.has('users')) {
|
||||
document.getElementById('adminSection').classList.remove('hidden');
|
||||
document.getElementById('passwordChangeSection').classList.remove('hidden');
|
||||
await loadDepartmentsCache();
|
||||
await loadUsers();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user