fix #477: add group based role grants

This commit is contained in:
devmrko
2026-06-26 09:33:49 +09:00
parent 3c9bcfdc0a
commit 1ea8d34f31
14 changed files with 654 additions and 10 deletions

View File

@@ -0,0 +1,14 @@
package com.cloudhandson.vpdbackoffice.domain.group;
public record AppGroup(
long groupId,
String groupCode,
String groupName,
String description,
String activeYn
) {
public boolean active() {
return "Y".equalsIgnoreCase(activeYn);
}
}

View File

@@ -0,0 +1,8 @@
package com.cloudhandson.vpdbackoffice.domain.group;
public record GroupCreateCommand(
String groupCode,
String groupName,
String description
) {
}

View File

@@ -0,0 +1,10 @@
package com.cloudhandson.vpdbackoffice.domain.group;
public record GroupRoleView(
long groupId,
String groupCode,
String groupName,
long roleId,
String roleName
) {
}

View File

@@ -0,0 +1,10 @@
package com.cloudhandson.vpdbackoffice.domain.group;
public record GroupUserView(
long groupId,
String groupCode,
String groupName,
long userId,
String username
) {
}