diff options
author | Vincent Petry <vincent@nextcloud.com> | 2021-03-25 11:16:21 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2021-03-26 13:07:09 +0100 |
commit | b66af8a4329852ee599438c5be74e9246b4e0a68 (patch) | |
tree | 08ba64d81ca36ec312169196a8cee3e03e86f7b4 /apps/provisioning_api/lib/AppInfo | |
parent | b73df5846ce9c801e93e79e11e93a8cd73dabfdd (diff) | |
download | nextcloud-server-b66af8a4329852ee599438c5be74e9246b4e0a68.tar.gz nextcloud-server-b66af8a4329852ee599438c5be74e9246b4e0a68.zip |
Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps/provisioning_api/lib/AppInfo')
-rw-r--r-- | apps/provisioning_api/lib/AppInfo/Application.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/AppInfo/Application.php b/apps/provisioning_api/lib/AppInfo/Application.php index 7ec21c3329e..af6b2b33711 100644 --- a/apps/provisioning_api/lib/AppInfo/Application.php +++ b/apps/provisioning_api/lib/AppInfo/Application.php @@ -29,6 +29,7 @@ namespace OCA\Provisioning_API\AppInfo; use OC\Group\Manager as GroupManager; +use OCA\Provisioning_API\Capabilities; use OCA\Provisioning_API\Listener\UserDeletedListener; use OCA\Provisioning_API\Middleware\ProvisioningApiMiddleware; use OCA\Settings\Mailer\NewUserMailHelper; @@ -92,6 +93,7 @@ class Application extends App implements IBootstrap { ); }); $context->registerMiddleware(ProvisioningApiMiddleware::class); + $context->registerCapability(Capabilities::class); } public function boot(IBootContext $context): void { |