ore/app/controllers/Reviews.scala
Function takeoverReview
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def takeoverReview(author: String, slug: String, versionString: String): Action[String] = {
Authenticated
.andThen(PermissionAction(Permission.Reviewer))
.asyncEitherT(parse.form(forms.ReviewDescription)) { implicit request =>
for {
TODO found Open
Open
roles <- TableQuery[OrganizationRoleTable] if members.userId === roles.userId // TODO roletype lvl in database?
- Exclude checks