관리자 역할 별 권한 변경

This commit is contained in:
skkim committed 2026-05-06 14:01:17 +09:00
1 parent e99fddd66a
commit 408744ad07
8 files changed
+495 -1

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class AdminAdmin(SuperAdminOnly, ModelView, model=Admin):
form_args = {
"role": {
"label": "권한",
"choices": [("superadmin", "전체 관리자"), ("viewer", "조회 전용")],
"choices": [("superadmin", "전체 관리자"), ("viewer", "일반 관리자")],
"default": "viewer",
}
}