webui: introduce subscription backup unit report#1280
webui: introduce subscription backup unit report#1280joergsteffens merged 2 commits intobareos:masterfrom frb121:dev/fbergkemper/master/s5170
Conversation
joergsteffens
left a comment
There was a problem hiding this comment.
As discussed, some improvements. Please you this as a bases for further changes.
|
Changes pushed including some further suggestions. Please review, thank you. |
joergsteffens
left a comment
There was a problem hiding this comment.
As discussed, I updated the text on the subscription page, tested it again and fixed some small thinks.
What still needs improvement is the handling of insufficient permissions:
Insufficient permissions are not clearly indicated. Instead, the command output is just displayed:
status subscription: needs access to all client, job and fileset resources.
Expected result: warning banner: insufficient permissions, required .... and the download button should also be invisible.
joergsteffens
left a comment
There was a problem hiding this comment.
I approve the changes. Please squash the commits before merging.
Introduces a new module named "Subscription".
Signed-off-by: Frank Bergkemper <frank.bergkemper@bareos.com>
|
Removed core changes from this branch that have already been merged into master by another PR. See https://github.com/fbergkemper/bareos/commit/4cef162b6ec0e669ff3acf4a23281b65a164a79d ( #1312 ). Squashed the commits and pushed a CHANGELOG.md update. |
Introduces an additional view to the director module where a backup unit report can be retrieved and downloaded in JSON format.
Thank you for contributing to the Bareos Project!
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problemsTests