Commit Graph

189 Commits

Author SHA1 Message Date
Johannes Meyer 56c4fdf8a1 Wizard: Fix db privilege checks, again
The wizard were not able to verify privileges if some or even all
privileges were granted on database level causing it to grant
redundant privileges on table level.
2015-07-03 10:28:09 +02:00
Johannes Meyer 3aae1acc97 WebWizard: Validate the db schema correctly
This was being validated successfully no matter whether the
schema actually existed or not...
2015-07-02 17:02:12 +02:00
Johannes Meyer 49d4be79ef DbTool: Some coding style fixes 2015-07-02 17:00:04 +02:00
Johannes Meyer 0c1365753e DbTool: Properly escape database wildcards when checking privileges
fixes #9543
2015-07-02 16:58:37 +02:00
Johannes Meyer 2f05ca6332 Wizard: Re-render passwords on the admin account and db creation page
That's not placeholders, actually, but this will be solved in a
different issue. (in a more generic way)

fixes #9545
2015-07-02 11:50:23 +02:00
Johannes Meyer 9feb29d99b LdapDiscoveryPage: Prefer our form error implementation 2015-07-02 11:19:08 +02:00
Johannes Meyer f8034cfb9d DbResourcePage: Prefer our form error implementation 2015-07-02 11:18:45 +02:00
Johannes Meyer 2b11168673 DatabaseCreationPage: Prefer our form error implementation 2015-07-02 11:18:29 +02:00
Johannes Meyer e43abd37a1 DbResourcePage: Drop hidden element `prefix'
That's not a valid configuration option anymore.
2015-07-02 10:31:03 +02:00
Johannes Meyer 3e69ef7e9e WebWizard: Fix condition for page `setup_config_db_resource'
refs #8709
2015-07-02 10:23:27 +02:00
Johannes Meyer f0d7629209 AuthBackendPage: Do only create a resource config if necessary 2015-07-02 10:18:37 +02:00
Johannes Meyer ac78661943 WebWizard: Fix documentation 2015-07-02 09:23:09 +02:00
Johannes Meyer 7795ad4f95 WebWizard: Drop preferences page and include ApplicationConfigForm instead
refs #8709
2015-07-01 16:02:40 +02:00
Johannes Meyer 87cdd49b1c AdminAccountPage: Fix username validation 2015-07-01 14:25:43 +02:00
Johannes Meyer f615db01fe WebWizard: Show db resource config right after choosing db as auth type
refs #8709
2015-07-01 14:24:48 +02:00
Johannes Meyer 2dcbee27bc AdminAccountPage: Add missing form title
refs #8704
2015-06-30 11:38:59 +02:00
Johannes Meyer ae9fa38ac4 AdminAccountPage: Drop unused view script
refs #8704
2015-06-30 11:38:40 +02:00
Johannes Meyer c787eadcfe AdminAccountPage: Use a select input to choose how to define a user
refs #8704
2015-06-30 10:58:17 +02:00
Johannes Meyer 3ea9e50c02 AdminAccountPage: Fetch the entire set of users only if necessary
refs #8704
2015-06-30 09:20:52 +02:00
Johannes Meyer 4fc7b3eb1b Setup: Fix the sorting of existing LDAP users 2015-06-25 15:52:09 +02:00
Johannes Meyer 39ea81ac7b Setup: Also list existing accounts for ActiveDirectory auth backends
fixes #9511
2015-06-25 15:26:56 +02:00
Johannes Meyer 3dddee8b7d Setup: Fix authentication backend validation
This is a ridiculous dirty fix. We'll definitely need to
improve how we create authentication backends...

fixes #9509
2015-06-25 14:36:51 +02:00
Johannes Meyer d95874b84c Setup: Provide a default user filter for ActiveDirectory backends
fixes #8703
2015-06-25 14:22:50 +02:00
Johannes Meyer f5e30a84f1 Improve the look of headings in the setup wizard 2015-06-19 15:44:43 +02:00
Alexander A. Klimov 98b2699e35 Documentation: use command line arguments in the format --arg=<value>
refs #8472
2015-06-10 17:20:27 +02:00
Alexander A. Klimov ad643e3aa5 Improve the setup module's description
refs #7651
2015-06-09 10:39:32 +02:00
Alexander A. Klimov e9d308eb62 Setup: add module.info
refs #7651
2015-06-08 13:26:30 +02:00
Alexander A. Klimov 6a914dc25b Merge branch 'bugfix/Show-all-shell-commands-required-to-get-ready-in-the-setup-wizard-8705'
fixes #8705
2015-06-05 18:40:07 +02:00
Johannes Meyer 2490d0ae67 ConfigController: We're configuring user backends from now on
refs #8826
2015-06-02 09:58:57 +02:00
Alexander A. Klimov 38cecdb724 Setup Wizard: show how to add a system group "icingaweb2" and how to add the webserver's user to it
refs #8705
2015-05-27 11:39:13 +02:00
Johannes Meyer 399bbf0795 AuthenticationStep: Adjust usage of a DbUserBackend's insert capability
refs #8826
2015-05-11 16:01:20 +02:00
Johannes Meyer 437090d2b1 AdminAccountPage: Backends do provide a unified interface now, use it
refs #8826
refs #7693
2015-05-04 12:21:17 +02:00
Johannes Meyer c441117324 LdapUserBackend: Extend Repository and implement UserBackendInterface
refs #8826
2015-05-04 12:18:25 +02:00
Johannes Meyer 3da144f199 Revert "Sort LDAP user list"
This reverts commit d4dc0177c0.
2015-04-28 15:57:33 +02:00
Johannes Meyer 6ca68f438d Move concrete UserBackend classes to Icinga\Authentication\User
refs #8826
2015-04-21 12:51:31 +02:00
Johannes Meyer d02c078e4a Wizard: Ensure that privileges are checked only once
Another entry in the "The provided credentials cannot be
used to create the database and/or the user" story...
2015-04-15 09:26:39 +02:00
Johannes Meyer a21d54460d DbTool: Fix that all mysql privileges were checked regardless of their context
refs #8707
2015-04-13 14:17:18 +02:00
Johannes Meyer e0891aedca DbTool: Add mysql context identifiers for the REFERENCES privilege
Though this privilege is not in use until mysql version 5.7.6 it is registered
as privilege in the privilege tables in earlier versions.

refs #8707
2015-04-13 14:13:02 +02:00
Johannes Meyer d038a2795d Wizard: Differentiate between privileges required to create and setup a db
Fixes the bug that if a database and a login are already existing and only
the schema needs to be set up, which is possible using the resource's login,
the user is required to provide another login with the seemingly missing
privileges.

refs #8707
2015-04-13 14:10:24 +02:00
Johannes Meyer 5c61405a9a Revert "Setup: Fix that the mysql privilege checks are not working in the wizard"
This reverts commit 1835479738.
Operator precedence is a damn useful thing, if known by the developer...
2015-04-13 10:27:10 +02:00
Alexander A. Klimov 20b09d3bda Inherit from Icinga\Web\Controller rather than from Icinga\Web\Controller\ModuleActionController 2015-04-08 15:13:59 +02:00
Johannes Meyer 1835479738 Setup: Fix that the mysql privilege checks are not working in the wizard
Missed to commit this yesterday as part of the fix for #8929

refs #8929
2015-04-08 08:55:08 +02:00
Johannes Meyer 2882e2fd5e Setup: Fix that not any privilege checks are working in the wizard
fixes #8929
2015-04-07 16:14:03 +02:00
Alexander Klimov 967a2e82dc Use (only) "@return $this" in fluent interfaces' documentation 2015-04-07 14:24:11 +02:00
Johannes Meyer b37757ca6e Disable the LdapDiscoveryConfirmPage
As long as the discovery code does not report multiple results, as it should,
actually, it's useless to demand the user to confirm the result.

resolves #8602
refs #8725
refs #8708
2015-03-12 16:14:58 +01:00
Johannes Meyer 39a74c4f3d LDAP-Auth backend config: Add support for custom LDAP filter rules
refs #8365
2015-03-11 09:52:14 +01:00
Johannes Meyer e4e6c1cb28 Wizard: Fix that the wrong form element is used in case a user already exists
fixes #8678
2015-03-11 07:59:04 +01:00
Johannes Meyer f87a43b9d3 Catch errors occuring on ldap discoveries
fixes #8656
2015-03-10 13:24:54 +01:00
Johannes Meyer 59f43a0f5e Show module requirements as a separate table
refs #8508
2015-03-10 10:56:05 +01:00
Johannes Meyer c44d5d2a73 Use a custom RecursiveIteratorIterator to render a RequirementSet
refs #8508
2015-03-10 09:31:57 +01:00