8000 [FE-48] only admin see license info PART2 (#17916) · cloudhub-js/arangodb@c2f33e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2f33e8

Browse files
authored
[FE-48] only admin see license info PART2 (arangodb#17916)
* in addition to the original PR arangodb#15776 , we also must disable error notifications for the actual licence call itself - if parameter: --server.harden true is being set * added changelog entry
1 parent 0fc605c commit c2f33e8

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
devel
22< 8000 code class="diff-text syntax-highlighted-line">
-----
33

4+
* Web UI [FE-48]: Additional fix to the previously introduced license
5+
information usability improvement. In case the server is being started with
6+
the additional parameter `--server.harden`, the previous fix did not handle
7+
that specific edge case.
8+
49
* Use more compact and efficient representation for arrays and objects during
510
AQL AST serialization and deserialization. This can help to reduce the size
611
of messages exchanged between coordinator and database servers during query

js/apps/system/_admin/aardvark/APP/frontend/js/views/navigationView.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@
142142
} else {
143143
self.showLicenseError();
144144
}
145-
},
146-
error: function () {
147-
self.showLicenseError();
148145
}
146+
// intentionally no error handling: non-root users may not be allowed to fetch license information, but in that case we do not want to show an error
147+
// Additional note: This is required if "--server.harden true" is being set.
149148
});
150149
},
151150

0 commit comments

Comments
 (0)
0