Am 03.10.2016 um 11:02 schrieb Phil Meech: > Hi, > > I run 16.3.1 (01 July 2016) and have noticed, potentially since the last > update I did, that I can no longer browse restores in bareos-webui. Restores > are functioning as they should in bconsole, and I'm able to search and > restore. There are no errors shown when selecting a client and job, just a > blank window after the intial cog in the webui. > > I've looked at the audit.log and can see some messages in there for each time > I try and use webui restores: > > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx] cmdline llist clients current > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_get_jobids > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_update > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_lsdirs > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_update > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_lsdirs > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_get_jobids > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_update > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_lsfiles > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_update > 03-Oct 09:48 bareos-dir: Console [xxx] from [xx], Audit acl failure for > Command .bvfs_lsfiles > > Running any of these commands from bconsole work fine. > > Can anyone suggest what I can do to resolve the permissions issue here?
The bareos-webui package contains a bareos-director profile, defining the required permissions. you can also find it here: https://github.com/bareos/bareos-webui/blob/master/install/bareos/bareos-dir.d/profile/webui-admin.conf Your console user must use this profile or be otherwise permitted the required commands, see https://github.com/bareos/bareos-webui/blob/master/install/bareos/bareos-dir.d/console/admin.conf.example The bconsole, by default, uses the admin console. The admin console has full permissions to all resources. Therefore it is no wonder, that you can access all commands with bconsole. Verify, using bconsole: show consoles, show profiles, that the user used for the webui has all required permissions. regards, Jörg -- Jörg Steffens [email protected] Bareos GmbH & Co. KG Phone: +49 221 630693-91 http://www.bareos.com Fax: +49 221 630693-10 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, Jörg Steffens, P. Storz -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
