use of com.mercedesbenz.sechub.developertools.admin.DeveloperProjectDetailInformation in project sechub by mercedes-benz.
the class ChangeProjectAccessLevelAction method fetchCurrentProjectAccessLevel.
private ProjectAccessLevel fetchCurrentProjectAccessLevel(String projectId, DeveloperAdministration administration) {
DeveloperProjectDetailInformation details = administration.fetchProjectDetailInformation(projectId);
ProjectAccessLevel currentAccesslevel = ProjectAccessLevel.fromId(details.getAccessLevel());
return currentAccesslevel;
}
Aggregations