fix: 캘린더 모달 중복 카드 문제 및 삭제 권한 개선

- monthly_worker_status 조회 시 GROUP BY로 중복 데이터 합산
- 작업보고서 삭제 권한을 그룹장 이상으로 제한 (admin, system, group_leader)
- 중복 데이터 정리를 위한 마이그레이션 SQL 추가 (009_fix_duplicate_monthly_status.sql)
- synology_deployment 버전에도 동일 수정 적용
This commit is contained in:
Hyungi Ahn
2025-12-02 13:08:44 +09:00
parent beaffcad49
commit a9bce9d20b
419 changed files with 275129 additions and 394 deletions

View File

@@ -40,9 +40,9 @@
<span class="dropdown-icon">🔐</span>
비밀번호 변경
</a>
<a href="/pages/profile/settings.html" class="dropdown-item">
<a href="/pages/profile/admin-settings.html" class="dropdown-item admin-only">
<span class="dropdown-icon">⚙️</span>
설정
관리자 설정
</a>
<div class="dropdown-divider"></div>
<button class="dropdown-item logout-item" id="dropdown-logout">
@@ -56,9 +56,6 @@
<button class="nav-btn dashboard-btn" title="대시보드">
🏠 대시보드
</button>
<button class="nav-btn admin-btn" title="관리자 페이지" id="adminBtn" style="display: none;">
⚙️ 관리자
</button>
<button class="nav-btn system-btn" title="시스템 관리자" id="systemBtn" style="display: none;">
🔧 시스템
</button>
@@ -312,18 +309,6 @@
transform: translateY(-1px);
}
.admin-btn {
background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
color: white;
border: 1px solid rgba(255,255,255,0.3);
box-shadow: 0 2px 8px rgba(255,107,53,0.3);
}
.admin-btn:hover {
background: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(255,107,53,0.4);
}
.system-btn {
background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);