Skip to content

Commit

Permalink
UCS: added legacy bareos-webui profile
Browse files Browse the repository at this point in the history
While this profile will not be used by fresh installation,
updated old installation might refer to this file.
Where also the CommandACL is adapted to the requirements
of bareos-webui >= 16.2.
  • Loading branch information
joergsteffens committed Jan 6, 2017
1 parent 5fc043d commit 810b562
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/univention-bareos.install.in
Expand Up @@ -10,6 +10,7 @@
/etc/univention/templates/scripts/etc/bareos/bareos-dir.d/pool/Differential.conf
/etc/univention/templates/scripts/etc/bareos/bareos-dir.d/pool/Full.conf
/etc/univention/templates/scripts/etc/bareos/bareos-dir.d/pool/Incremental.conf
/etc/univention/templates/scripts/etc/bareos/bareos-dir.d/webui-profiles.conf
/usr/lib/univention-directory-listener/system/univention-bareos.py
/usr/lib/univention-install/62univention-bareos.inst
/usr/lib/univention-uninstall/63univention-bareos.uinst
Expand Down
3 changes: 3 additions & 0 deletions debian/univention-bareos.univention-config-registry
Expand Up @@ -31,6 +31,9 @@ File: etc/bareos/bareos-dir.d/pool/Incremental.conf
Variables: bareos/max_incr_volume_bytes
Variables: bareos/max_incr_volumes

Type: file
File: etc/bareos/bareos-dir.d/webui-profiles.conf

Type: file
File: etc/bareos/bareos-sd.d/device/FileStorage.conf
Variables: bareos/filestorage
Expand Down
@@ -0,0 +1,21 @@
@%@UCRWARNING=# @%@

#
# bareos-webui profile resource.
# Deprecated, only used when updating from bareos-15.2.
# Fresh installation of bareos >= 16.2 will use
# /etc/bareos/bareos-dir.d/profile/webui-admin.conf (profile name: webui-admin).
#
Profile {
Name = webui
CommandACL = !.bvfs_clear_cache, !.exit, !.sql, !configure, !create, !delete, !purge, !prune, !sqlquery, !umount, !unmount, *all*
Job ACL = *all*
Schedule ACL = *all*
Catalog ACL = *all*
Pool ACL = *all*
Storage ACL = *all*
Client ACL = *all*
FileSet ACL = *all*
Where ACL = *all*
}

0 comments on commit 810b562

Please sign in to comment.