Developer 역할 Spring 골격 smoke #12

Open
forge-bot wants to merge 7 commits from forge/role-developer-live-v2-001-attempt-1-run-53f9c6cb3b6d into main
Showing only changes of commit c5d145cfb9 - Show all commits

View file

@ -6,10 +6,14 @@ import org.springframework.stereotype.Service;
public class DeveloperService {
public String getRole() {
return "DEVELOPER";
return "developer";
}
public boolean isAuthorized(String action) {
return "code".equals(action) || "review".equals(action) || "deploy".equals(action);
public boolean isActive() {
return true;
}
public String describe() {
return "Developer role is active and operational";
}
}