nextcloud/apps/files_sharing/lib/controllers
Roeland Jago Douma 3d2acb5003 sharingcheckmiddleware now handles externalshares as well
Added new annotations for the externalsharescontroller class
* @NoOutgoingFederatedSharingRequired
* @NoIncomingFederatedSharingRequired

By default both are required for all functions in the
externalSharesController.

A proper exception is thrown and then a 405 is returned instead of the
default error page. Since it is only an API endpoint this makes more
sense.

Unit tests added and updated
2015-10-02 12:03:53 +02:00
..
externalsharescontroller.php sharingcheckmiddleware now handles externalshares as well 2015-10-02 12:03:53 +02:00
sharecontroller.php Only intercept exceptions of type "NotFoundException" instead of any Exception 2015-09-30 13:32:20 +02:00