-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
show warning in ui if user or role could not be resolved #3593
Conversation
thoniTUB
commented
Oct 7, 2024
•
edited
Loading
edited
@awildturtok ich musste einige dateien anfassen, aber der pr ist durch das methoden sortieren so groß geworden |
} | ||
return name; | ||
} | ||
catch (java.text.ParseException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FQN?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In der Klasse gibt leider zwei unterschiedliche mit selben namen
public Response deleteRoleFromUser(@PathParam(GROUP_ID) Group group, @PathParam(ROLE_ID) RoleId role) { | ||
processor.deleteRoleFrom(group, role); | ||
return Response.ok().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public Response deleteRoleFromUser(@PathParam(GROUP_ID) Group group, @PathParam(ROLE_ID) RoleId role) { | |
processor.deleteRoleFrom(group, role); | |
return Response.ok().build(); | |
public void deleteRoleFromUser(@PathParam(GROUP_ID) Group group, @PathParam(ROLE_ID) RoleId role) { | |
processor.deleteRoleFrom(group, role); |
public Response deleteUserFromGroup(@PathParam(GROUP_ID) Group group, @PathParam(USER_ID) UserId user) { | ||
processor.deleteUserFromGroup(group, user); | ||
return Response.ok().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public Response deleteUserFromGroup(@PathParam(GROUP_ID) Group group, @PathParam(USER_ID) UserId user) { | |
processor.deleteUserFromGroup(group, user); | |
return Response.ok().build(); | |
public void deleteUserFromGroup(@PathParam(GROUP_ID) Group group, @PathParam(USER_ID) UserId user) { | |
processor.deleteUserFromGroup(group, user); |
public Response deleteRole(@PathParam(ROLE_ID) RoleId role) throws JSONException { | ||
processor.deleteRole(role); | ||
return Response.ok().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public Response deleteRole(@PathParam(ROLE_ID) RoleId role) throws JSONException { | |
processor.deleteRole(role); | |
return Response.ok().build(); | |
public void deleteRole(@PathParam(ROLE_ID) RoleId role) throws JSONException { | |
processor.deleteRole(role); |
User user = getStorage().getUser(id); | ||
if (user != null) { | ||
return getUserContent(user); | ||
} | ||
return FrontendUserContent.builder().id(id).build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lässt sich das nicht in getUserContent(UserId) einbetten?
public Response deleteUser(@PathParam(USER_ID) UserId user) { | ||
processor.deleteUser(user); | ||
return Response.ok().build(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public Response deleteUser(@PathParam(USER_ID) UserId user) { | |
processor.deleteUser(user); | |
return Response.ok().build(); | |
} | |
public void deleteUser(@PathParam(USER_ID) UserId user) { | |
processor.deleteUser(user); | |
} |
public Response deleteRoleFromUser(@PathParam(USER_ID) User user, @PathParam(ROLE_ID) RoleId role) { | ||
processor.deleteRoleFrom(user, role); | ||
return Response.ok().build(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public Response deleteRoleFromUser(@PathParam(USER_ID) User user, @PathParam(ROLE_ID) RoleId role) { | |
processor.deleteRoleFrom(user, role); | |
return Response.ok().build(); | |
public void deleteRoleFromUser(@PathParam(USER_ID) User user, @PathParam(ROLE_ID) RoleId role) { | |
processor.deleteRoleFrom(user, role); |