]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
baculum: Fix missing scopes on supported OAuth2 scope list
authorMarcin Haba <marcin.haba@bacula.pl>
Mon, 10 Jun 2024 11:48:58 +0000 (13:48 +0200)
committerMarcin Haba <marcin.haba@bacula.pl>
Mon, 10 Jun 2024 11:48:58 +0000 (13:48 +0200)
gui/baculum/protected/Common/JavaScript/misc.js

index 720cec030883d64757bfdc4a18b1fd5b7fae30db..314fe519688ba4906fb6f45922218db5cbe121c9 100644 (file)
@@ -229,9 +229,11 @@ var OAuth2Scopes = [
        'basic',
        'objects',
        'events',
+       'sources',
        'fileevents',
        'plugins',
-       'system'
+       'system',
+       'cloud'
 ];
 var set_scopes = function(field_id) {
        document.getElementById(field_id).value = OAuth2Scopes.join(' ');