- AppSetting 엔티티 + Repository (key-value 설정 저장소) - SettingsService (자동승인 조회/수정) - AdminSettingsController (GET/PUT /api/admin/settings/registration) - Role.defaultGrant 컬럼 + AdminRoleController default-grant 토글 - AuthController: 신규 사용자 생성 시 자동승인 + 기본롤 부여 로직 - data.sql: WING_PERMIT 롤 시드 + auto-approve 설정 시드 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
157 B
Java
8 lines
157 B
Java
package com.gcsc.guide.dto;
|
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
|
public record UpdateDefaultGrantRequest(
|
|
@NotNull Boolean defaultGrant
|
|
) {}
|