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 #277 from fbergkemper/dev/fbergkemper/master/story…
…-3193-command-acl-plugin fix controller plugin: CommandACLPlugin
- Loading branch information
Showing
80 changed files
with
5,070 additions
and
3,671 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
.. _section-dev-webui: | ||
|
||
Webui | ||
===== | ||
|
||
.. _section-dev-webui-command-usage-in-modules: | ||
|
||
Command usage in modules and the according ACL requirements | ||
----------------------------------------------------------- | ||
|
||
|
||
Following is a table of bconsole commands and |webui| modules. | ||
Commands are either marked as required, optional or empty if not used by the module. | ||
|
||
Required commands are mandatory for proper module functionality and access to them should | ||
not be denied by :config:option:`dir/profile/CommandACL` settings. | ||
|
||
Access to commands marked as optional may be denied by :config:option:`dir/profile/CommandACL` settings. | ||
|
||
|
||
.. csv-filter:: | ||
:header-rows: 1 | ||
:file: ../../../../webui/module/Application/config/commands.csv |
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
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
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
23 changes: 23 additions & 0 deletions
23
webui/install/bareos/bareos-dir.d/profile/webui-limited.conf.example
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,23 @@ | ||
# | ||
# bareos-webui profile resource example: limited access | ||
# | ||
|
||
Profile { | ||
Name = "webui-limited" | ||
# Multiple CommandACL directives as given below are concatenated | ||
CommandACL = .api, .help, use, version, status, show | ||
CommandACL = list, llist | ||
CommandACL = run, rerun, cancel, restore | ||
CommandACL = .clients, .jobs, .filesets, .pools, .storages, .defaults, .schedule | ||
CommandACL = .bvfs_update, .bvfs_get_jobids, .bvfs_lsdirs, .bvfs_lsfiles | ||
CommandACL = .bvfs_versions, .bvfs_restore, .bvfs_cleanup | ||
|
||
JobACL = backup-bareos-fd, RestoreFiles | ||
ScheduleACL = WeeklyCycle | ||
CatalogACL = MyCatalog | ||
PoolACL = Full, Differential, Incremental | ||
StorageACL = File | ||
ClientACL = bareos-fd | ||
FilesetACL = SelfTest | ||
WhereACL = *all* | ||
} |
Oops, something went wrong.