Files
freeipa/ipaserver/plugins
Alexander Bokovoy 48acb7d865 Processing of server roles should ignore errors.EmptyResult
When non-admin user issues a command that utilizes
api.Object.config.show_servroles_attributes(), some server roles might
return errors.EmptyResult, indicating that a role is not visible to this
identity.

Most of the callers to api.Object.config.show_servroles_attributes() do
not process errors.EmptyResult so it goes up to an API caller. In case
of Web UI it breaks retrieval of the initial configuration due to ipa
config-show failing completely rather than avoiding to show available
server roles.

Fixes: https://pagure.io/freeipa/issue/7452
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
2018-03-21 22:22:35 +01:00
..
2010-12-20 17:19:53 -05:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2018-01-09 07:53:28 +01:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-09-18 11:44:08 +02:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-12-12 12:53:21 +01:00
2018-02-09 08:57:41 +01:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2018-01-09 07:53:28 +01:00
2017-03-27 19:08:26 +02:00
2017-03-27 19:08:26 +02:00
2018-01-31 16:03:19 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2017-09-08 15:42:07 +02:00
2018-01-09 07:53:28 +01:00
2018-01-09 07:53:28 +01:00
2016-08-17 16:55:49 +02:00