From 7c967defcc689412da8452ba0e1093774b93da41 Mon Sep 17 00:00:00 2001 From: pricelees Date: Wed, 17 Sep 2025 10:42:24 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20\@AdminOnly=EC=9D=98=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=20=ED=83=80=EC=9E=85=EC=9D=84=20STORE=20->=20ALL?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20=ED=95=84=EB=93=9C?= =?UTF-8?q?=20=EC=98=A4=ED=83=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/roomescape/auth/web/support/AuthAnnotations.kt | 2 +- src/main/kotlin/roomescape/common/dto/AuditDto.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/roomescape/auth/web/support/AuthAnnotations.kt b/src/main/kotlin/roomescape/auth/web/support/AuthAnnotations.kt index a1692c91..712f0b5e 100644 --- a/src/main/kotlin/roomescape/auth/web/support/AuthAnnotations.kt +++ b/src/main/kotlin/roomescape/auth/web/support/AuthAnnotations.kt @@ -6,7 +6,7 @@ import roomescape.admin.infrastructure.persistence.Privilege @Target(AnnotationTarget.FUNCTION) @Retention(AnnotationRetention.RUNTIME) annotation class AdminOnly( - val type: AdminType = AdminType.STORE, + val type: AdminType = AdminType.ALL, val privilege: Privilege ) diff --git a/src/main/kotlin/roomescape/common/dto/AuditDto.kt b/src/main/kotlin/roomescape/common/dto/AuditDto.kt index 10931d5f..e8c956e2 100644 --- a/src/main/kotlin/roomescape/common/dto/AuditDto.kt +++ b/src/main/kotlin/roomescape/common/dto/AuditDto.kt @@ -17,6 +17,6 @@ data class OperatorInfo( data class AuditInfo( val createdAt: LocalDateTime, val createdBy: OperatorInfo, - val modifiedAt: LocalDateTime, - val modifiedBy: OperatorInfo, + val updatedAt: LocalDateTime, + val updatedBy: OperatorInfo, )