Bug 783500

Summary: [ipa webui] Permission has checkbox selected against no attribute
Product: Red Hat Enterprise Linux 6 Reporter: Namita Soman <nsoman>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: jgalipea, mkosek, pvoborni
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-2.2.0-3.el6 Doc Type: Bug Fix
Doc Text:
No documentation needed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:31:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
screenshot none

Description Namita Soman 2012-01-20 16:10:16 UTC
Description of problem:
Edit a permission, for example - Add groups
scroll to the bottom of the attributes, and there is a checkbox selected with no attribute associated with it.

There are other permissions like this also.

Happens if a permission is added with no attributes specified.

Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120117T0229zgit5febffb.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. add a permission, as type user
2. but do not select any attributes
3. scroll down to the bottom of the list of attributes for this permission
  
Actual results:
There is a checkbox selected with no attributes associated

Expected results:
No checkbox selected

Additional info:

Comment 2 Dmitri Pal 2012-01-20 23:18:35 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2291

Comment 3 Namita Soman 2012-01-23 15:16:47 UTC
Created attachment 556984 [details]
screenshot

Add screenshot to show the issue

Comment 4 Petr Vobornik 2012-02-22 12:49:18 UTC
Fixed upstream.

master: a11f1bb2c2619970824c1eb8cabc4b9913ba7c54

ipa-2-2: 719fa901570b6757da315d2f26834c09f573429b

Comment 7 Namita Soman 2012-04-05 16:09:13 UTC
verified using ipa-server-2.2.0-7.el6.x86_64
When no attributes are selected, permission does not have any checked, not even an extra blank one.

Comment 8 Petr Vobornik 2012-04-26 13:37:42 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
No documentation needed.

Comment 10 errata-xmlrpc 2012-06-20 13:31:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0819.html