Skip to content

Commit

Permalink
Temporarily disabling folder sharing
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Jan 12, 2022
1 parent 70aa757 commit 9c97ae1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/my/sharing/SharingController.scala
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ class SharingController @Inject() (

/** API method to set folder visibility. Open to folder admins. **/
def setFolderVisibility() = silhouette.SecuredAction.async { implicit request =>
Future.successful(BadRequest) // Temporarily disabled
/*
request.body.asJson match {
case Some(json) =>
val id = (json \ "ids").as[Seq[UUID]].head
Expand All @@ -101,6 +103,7 @@ class SharingController @Inject() (
case None =>
Future.successful(BadRequest)
}
*/
}

/** API method to add a folder collaborator. Open to folder admins **/
Expand Down

0 comments on commit 9c97ae1

Please sign in to comment.