Bug 1477531 - Incorrect attribute level rights (ipaallowedtoperform) of service object
Incorrect attribute level rights (ipaallowedtoperform) of service object
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: IPA Maintainers
: Regression
Depends On:
  Show dependency treegraph
Reported: 2017-08-02 06:57 EDT by Pavel Vomacka
Modified: 2017-12-12 12:11 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Pavel Vomacka 2017-08-02 06:57:15 EDT
Description of problem:
In WebUI tables for "Allowed for retrieve/create keytab" user/host/hostgroups/usergroups on service details page are shown as read-only - it is not possible to add anything. This state is there until the first user/usergroup/host/hostgroup is added over CLI. Then tables become writable. 

Before adding user/usergroup/host/hostgroup in CLI the API response does not contain 'ipaallowedtoperform' in attributelevelrights at all. After that the attribute level right is added into response and WebUI is shown correctly. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install ipa server
2. Go to WebUI Identity - Services
3. Choose any service
4. Scroll down to 'Allow to retrieve/create keytab'
5. It is not possible to add any user/usergroup/host/hostgroup
6. Open command line and add a user to the particular service
$ ipa service-allow-create-keytab
7. Go back to WebUI 
8. Add button is now not grayed out

Actual results:
step 5

Expected results:
It should be possible to add user/usergroup/host/hostgroup right away, not only after first add.

Additional info:
Comment 2 Petr Vobornik 2017-08-02 12:06:03 EDT
Is this a regression?
Comment 3 Pavel Vomacka 2017-08-03 04:30:46 EDT
It works properly in ipa-4.4.0-12 on RHEL 7.3, so yes.
Comment 5 Pavel Vomacka 2017-08-09 08:14:02 EDT
The bug occurs after upgrade from RHEL7.3 to RHEL7.4, too. Even in case that some data has been already added into those tables before upgrade.
Comment 6 Petr Vobornik 2017-08-18 12:19:28 EDT
Upstream ticket:

Note You need to log in before you can comment on or make changes to this bug.