bareos-webui: bareos-16.2 00439f57

Author Committer Branch Timestamp Parent
frank frank bareos-16.2 2016-10-10 18:51 bareos-16.2 cbcc0325 Pending
Changeset Required Command ACL validation

This adds a new controller plugin to validate in each controller action
if all required commands to run the module properly are given in the
used Console/Profile Command ACL.

Additionally a new view helper is introduced to centralize the ACL alert
message which is displayed when the given Command ACL does not fit the
requirements.

This commit changes the views and controllers of the following modules:

- Dashboard
- Jobs
- Restore
- Clients
- Schedules
- Storages
- Pools
- Media/Volumes
- Director

Furthermore this commit removes some whitespace from the Director Model.
mod - module/Application/config/module.config.php Diff File
add - module/Application/src/Application/Controller/Plugin/CommandACLPlugin.php Diff File
add - module/Application/src/Application/View/Helper/ACLAlert.php Diff File
mod - module/Auth/src/Auth/Controller/AuthController.php Diff File
mod - module/Auth/view/auth/auth/login.phtml Diff File
mod - module/Client/src/Client/Controller/ClientController.php Diff File
mod - module/Client/view/client/client/index.phtml Diff File
mod - module/Dashboard/src/Dashboard/Controller/DashboardController.php Diff File
mod - module/Dashboard/view/dashboard/dashboard/index.phtml Diff File
mod - module/Director/src/Director/Controller/DirectorController.php Diff File
mod - module/Director/src/Director/Model/DirectorModel.php Diff File
mod - module/Director/view/director/director/console.phtml Diff File
mod - module/Director/view/director/director/index.phtml Diff File
mod - module/Director/view/director/director/messages.phtml Diff File
mod - module/Job/src/Job/Controller/JobController.php Diff File
mod - module/Job/view/job/job/actions.phtml Diff File
mod - module/Job/view/job/job/details.phtml Diff File
mod - module/Job/view/job/job/index.phtml Diff File
mod - module/Media/src/Media/Controller/MediaController.php Diff File
mod - module/Media/view/media/media/details.phtml Diff File
mod - module/Media/view/media/media/index.phtml Diff File
mod - module/Pool/src/Pool/Controller/PoolController.php Diff File
mod - module/Pool/view/pool/pool/details.phtml Diff File
mod - module/Pool/view/pool/pool/index.phtml Diff File
mod - module/Restore/config/module.config.php Diff File
mod - module/Restore/src/Restore/Controller/RestoreController.php Diff File
mod - module/Restore/view/restore/restore/index.phtml Diff File
mod - module/Schedule/src/Schedule/Controller/ScheduleController.php Diff File
mod - module/Schedule/view/schedule/schedule/details.phtml Diff File
mod - module/Schedule/view/schedule/schedule/index.phtml Diff File
mod - module/Schedule/view/schedule/schedule/overview.phtml Diff File
mod - module/Schedule/view/schedule/schedule/status.phtml Diff File
mod - module/Storage/src/Storage/Controller/StorageController.php Diff File
mod - module/Storage/view/storage/storage/details.phtml Diff File
mod - module/Storage/view/storage/storage/index.phtml Diff File
mod - module/Storage/view/storage/storage/status.phtml Diff File