Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #763 from alaaeddineelamri/dev/alaaeddineelamri/ma…
…ster/acl-messages-command Fix CommandACL bug that prevents messages to be seen
- Loading branch information
Showing
9 changed files
with
48 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-acl-none.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Console { | ||
Name = bareos-acl-none | ||
Password = "@dir_password@" | ||
} |
14 changes: 14 additions & 0 deletions
14
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-acl-restricted.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Console { | ||
Name = bareos-acl-restricted | ||
Description = "Restricted console." | ||
Password = "@dir_password@" | ||
CommandACL = restore, cancel, enable, disable, estimate, exit, gui, help, list, llist, messages, memory, quit, release, reload, rerun, restore, run, show, status, time, version, wait, whoami | ||
Job ACL = *all* | ||
Schedule ACL = all | ||
Catalog ACL = all | ||
Pool ACL = all | ||
Storage ACL = all | ||
Client ACL = all | ||
FileSet ACL = all | ||
Where ACL = all | ||
} |
5 changes: 5 additions & 0 deletions
5
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-acl-status-conf.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Console { | ||
Name = bareos-acl-status-conf | ||
Password = "@dir_password@" | ||
CommandACL = status, .status, configure | ||
} |
5 changes: 5 additions & 0 deletions
5
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-acl-status.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Console { | ||
Name = bareos-acl-status | ||
Password = "@dir_password@" | ||
CommandACL = status, .status | ||
} |
23 changes: 0 additions & 23 deletions
23
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-acl.conf.in
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
systemtests/tests/bareos-acl/etc/bareos/bareos-dir.d/console/bareos-mon.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
systemtests/tests/bareos-acl/etc/bareos/bconsole-acl-restricted.conf.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Bareos User Agent (or Console) Configuration File | ||
# | ||
|
||
Director { | ||
Name = @basename@-dir | ||
DIRport = @dir_port@ | ||
Password = "@dir_password@" | ||
Address = @hostname@ | ||
} | ||
|
||
Console { | ||
Name = bareos-acl-restricted | ||
Password = "@dir_password@" | ||
Director = @basename@-dir | ||
} |