}
public static Result GO_HOME = redirect(
routes.RoleController.list(0, "name", "asc", "")
);
public static Result edit(Long id) {
<BUG>User user = User.findByEmail(request().username());
Role role = Role.findById(id);
Form<Role> roleForm = Form.form(Role.class);</BUG>
roleForm = roleForm.fill(role);
List<Permission> permissions = Permission.findAll();

}
public static Result GO_HOME = redirect(
routes.RoleController.list(0, "name", "asc", "")
);
public static Result edit(Long id) {
Role role = Role.findById(id);
if (role == null) return notFound("There is no Role with ID " + id);
User user = User.findByEmail(request().username());
Form<Role> roleForm = Form.form(Role.class);
roleForm = roleForm.fill(role);
List<Permission> permissions = Permission.findAll();
