1
0
mirror of https://github.com/pcvolkmer/etl-processor.git synced 2025-07-04 15:32:55 +00:00

feat: add admin role assignment

This commit is contained in:
2024-03-04 10:12:12 +01:00
parent a008641192
commit 9392bcadc9
3 changed files with 16 additions and 6 deletions

View File

@ -34,7 +34,8 @@ data class UserRole(
enum class Role(val value: String) {
GUEST("guest"),
USER("user")
USER("user"),
ADMIN("admin")
}
interface UserRoleRepository : CrudRepository<UserRole, Long> {