View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001095 | bareos-core | webui | public | 2019-07-02 21:37 | 2019-12-18 15:24 |
Reporter | joergs | Assigned To | astoorangi | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 18.2.6 | ||||
Fixed in Version | 19.2.1 | ||||
Summary | 0001095: webui: when login as a user without the permission to the ".api" command, the webui show a wrong and ugly error message | ||||
Description | When login to the webui as a user without the permission to the ".api" command (e.g. without a profile setting), the webui show: (1) Error: API 2 not available on director. Please upgrade to version 15.2.2 or greater and/or compile with jansson support. Even when using the current webui and Bareos director. When reloading the page, as better error will be display. It shows the dashboard, with following hint: (2) Sorry, it seems you are not authorized to run this module. If you think this is an error, please contact your local administrator. It would be good, if only the second message would be displayed. | ||||
Steps To Reproduce | Create a user without profile using the bconsole: * configure add console=test1 password=secret tlsenable=false Login to the WebUI as user test1 | ||||
Tags | No tags attached. | ||||
Fix committed to bareos master branch with changesetid 11571. | |
Fix committed to bareos bareos-18.2 branch with changesetid 11625. | |
bareos: master 91a33e04 2019-07-09 13:49 Ported: N/A Details Diff |
webui: Better error message if user has no permission to the ".api" command Fixes 0001095: webui: when login as a user without the permission to the ".api" command, the webui show a wrong and ugly error message restructured loginAction in AuthController createForm() also ends the session now, Univention will be handled like Debian |
Affected Issues 0001095 |
|
mod - webui/module/Auth/src/Auth/Controller/AuthController.php | Diff File | ||
bareos: bareos-18.2 9ea774e6 2019-07-09 13:49 Committer: frank Ported: N/A Details Diff |
webui: Better error message if user has no permission to the ".api" command Fixes 0001095: webui: when login as a user without the permission to the ".api" command, the webui show a wrong and ugly error message restructured loginAction in AuthController createForm() also ends the session now, Univention will be handled like Debian |
Affected Issues 0001095 |
|
mod - webui/module/Auth/src/Auth/Controller/AuthController.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-02 21:37 | joergs | New Issue | |
2019-07-02 21:43 | joergs | Status | new => confirmed |
2019-07-03 09:59 | joergs | Assigned To | => astoorangi |
2019-07-03 09:59 | joergs | Status | confirmed => assigned |
2019-07-09 13:22 | Changeset attached | => bareos master 91a33e04 | |
2019-07-09 13:22 | readonly | Note Added: 0003426 | |
2019-07-09 14:23 | astoorangi | Assigned To | astoorangi => |
2019-07-09 14:23 | astoorangi | Status | assigned => resolved |
2019-07-09 14:23 | astoorangi | Resolution | open => fixed |
2019-07-09 14:23 | astoorangi | Fixed in Version | => 19.2.1 |
2019-07-09 14:24 | astoorangi | Assigned To | => astoorangi |
2019-07-09 14:24 | astoorangi | Status | resolved => new |
2019-07-09 14:24 | astoorangi | Resolution | fixed => reopened |
2019-07-09 14:25 | astoorangi | Status | new => resolved |
2019-07-09 14:25 | astoorangi | Resolution | reopened => fixed |
2019-08-01 12:22 | frank | Changeset attached | => bareos bareos-18.2 9ea774e6 |
2019-08-01 12:22 | astoorangi | Note Added: 0003550 | |
2019-12-12 13:30 | arogge | Relationship added | related to 0001152 |
2019-12-18 15:24 | arogge | Status | resolved => closed |