From 2e363655a9a9f3565a5c0d3e1159456a8d2a2911 Mon Sep 17 00:00:00 2001 From: Joerg Steffens Date: Wed, 12 Oct 2016 18:22:58 +0200 Subject: [PATCH] cleanup of the webui update chapter --- manuals/en/main/webui.tex | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/manuals/en/main/webui.tex b/manuals/en/main/webui.tex index 00c0df8..561196f 100644 --- a/manuals/en/main/webui.tex +++ b/manuals/en/main/webui.tex @@ -317,10 +317,15 @@ \section{Upgrade from 15.2 to 16.2} \subsection{Console/Profile changes} -As some changes happened regarding the Command ACL and substring matching between 15.2 and 16.2, you need to change .bvfs_* to .bvfs_.* in your Command ACL to have a proper regular expression. Otherwise the restore module won't work any longer, especially the file browser. - -Additionally you have to add a few more commands to your Command ACL the \bareosWebui now makes use of. +The \bareosWebui Director profile shipped with Bareos 15.2 (\resourcename{Dir}{Profile}{webui} in the file \file{/etc/bareos/bareos-dir.d/webui-profiles.conf}) is not sufficient to use the \bareosWebui 16.2. +This has several reasons: +\begin{enumerate} + \item The handling of \dt{Acl}s is more strict in Bareos 16.2 then it has been in Bareos 15.2. + Substring matching is no longer enabled, therefore you need to change \bcommand{.bvfs_*} to \bcommand{.bvfs_.*} + in your \linkResourceDirective{Dir}{Profile}{Command ACL} to have a proper regular expression. + Otherwise the restore module won't work any longer, especially the file browser. + \item The \bareosWebui 16.2 uses following additional commands: \begin{itemize} \item .help \item .schedule @@ -333,16 +338,20 @@ \subsection{Console/Profile changes} \item disable \end{itemize} -Alternatively have a look at the updated example profile the \bareosWebui delivers under the new subdirectory structure, \file{/etc/bareos/bareos-dir.d/profile/webui-admin.conf}. -Also have a look on \nameref{sec:webui-profile} how to configure profile resources. +\end{enumerate} + +If you used an unmodified \file{/etc/bareos/bareos-dir.d/webui-profiles.conf} file, +the easiest way is to overwrite it with the new profile file \file{/etc/bareos/bareos-dir.d/profile/webui-admin.conf}. +The new \resourcename{Dir}{Profile}{webui-admin} allows all commands, except of the dangerous ones, see \nameref{sec:webui-profile}. + +\subsection{directors.ini} + +Since 16.2 it is possible to work with different catalogs. Therefore the catalog parameter has been introduced. If you don't set a catalog explicitly the default \resourcename{Dir}{Catalog}{MyCatalog} will be used. Please see \nameref{sec:webui-configuration-files} for more details. \subsection{configuration.ini} Since 16.2 the \bareosWebui introduced an additional configuration file besides the directors.ini file named configuration.ini where you are able to adjust some parameters of the webui to your needs. Please see \nameref{sec:webui-configuration-files} for more details. -\subsection{directors.ini} - -Since 16.2 it is now possible to work with different catalogs. Therefore the catalog parameter has been introduced. If you don't set a catalog explicitly the default "MyCatalog" will be used. Please see \nameref{sec:webui-configuration-files} for more details on how to configure your \file{/etc/bareos-webui/directors.ini}. \section{Additional information}