|
|
|
|
@ -9,6 +9,7 @@ namespace OCA\Files_External\Controller;
|
|
|
|
|
use OCA\Files_External\NotFoundException;
|
|
|
|
|
use OCA\Files_External\Service\GlobalStoragesService;
|
|
|
|
|
use OCP\AppFramework\Http;
|
|
|
|
|
use OCP\AppFramework\Http\Attribute\PasswordConfirmationRequired;
|
|
|
|
|
use OCP\AppFramework\Http\DataResponse;
|
|
|
|
|
use OCP\IConfig;
|
|
|
|
|
use OCP\IGroupManager;
|
|
|
|
|
@ -69,6 +70,7 @@ class GlobalStoragesController extends StoragesController {
|
|
|
|
|
*
|
|
|
|
|
* @return DataResponse
|
|
|
|
|
*/
|
|
|
|
|
#[PasswordConfirmationRequired]
|
|
|
|
|
public function create(
|
|
|
|
|
$mountPoint,
|
|
|
|
|
$backend,
|
|
|
|
|
@ -134,6 +136,7 @@ class GlobalStoragesController extends StoragesController {
|
|
|
|
|
*
|
|
|
|
|
* @return DataResponse
|
|
|
|
|
*/
|
|
|
|
|
#[PasswordConfirmationRequired]
|
|
|
|
|
public function update(
|
|
|
|
|
$id,
|
|
|
|
|
$mountPoint,
|
|
|
|
|
|