RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1108223 - Visible delete buttons in multivalued widget when user doesn't have write rights
Summary: Visible delete buttons in multivalued widget when user doesn't have write rights
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-11 14:57 UTC by Martin Kosek
Modified: 2015-11-19 12:00 UTC (History)
4 users (show)

Fixed In Version: ipa-4.0.3-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 12:00:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Delete button (136.08 KB, image/png)
2015-01-21 08:38 UTC, Varun Mylaraiah
no flags Details
Operations Error (194.41 KB, image/png)
2015-01-21 08:39 UTC, Varun Mylaraiah
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2362 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2015-11-19 10:40:46 UTC

Description Martin Kosek 2014-06-11 14:57:41 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3799

Delete buttons near entries in multivalued widgets are displayed even when user doesn't have write rights for that attribute. Clicking on them causes exception.

Buttons should not be visible in such case.

Comment 1 Martin Kosek 2014-06-11 15:23:20 UTC
This request is already fixed in upstream FreeIPA project. Please refer to the linked ticket for additional details and related commits.

Comment 3 Varun Mylaraiah 2015-01-21 08:37:55 UTC
Issue is still reproducible. Hence, reopening the bug.

IPA Version:
ipa-server-4.1.0-15.el7.x86_64

Steps followed:
===============
1. As Admin, added 5 users (namely testuser1, testuser2,...,testuser5)
2. Created new netgroup called "newnetgrp"
3. Added users(testuser2 testuser3,..) under "User category" in "newnetgrp"
4. For testuser1 I assigned the role "IT-Specialist" (this role does not 
have Netgroup administrator privileges)
5. As testuser1 ==> Navigate to netgroup.
7. Selected users under "User category" using checkbox. [After selecting 
users delete button got enabled (which should not happen as per the bug 
description.)  Ref the screen shot "Delete_button.png" for further 
information]
8. Clicking on delete button results in error message stating 
"Insufficient access.....", refer screen shot 
"Insufficient_Permission.png" for further information

Please let me know if I am missing anything.

Comment 4 Varun Mylaraiah 2015-01-21 08:38:52 UTC
Created attachment 982195 [details]
Delete button

Comment 5 Varun Mylaraiah 2015-01-21 08:39:38 UTC
Created attachment 982196 [details]
Operations Error

Comment 6 Martin Kosek 2015-01-27 07:55:33 UTC
Ok, this looks as a valid bug, I filed upstream ticket:
https://fedorahosted.org/freeipa/ticket/4870

Comment 10 Petr Vobornik 2015-07-17 13:13:10 UTC
Unlinking upstream ticket #4870 (issue from comment 3) because this issue is not related this BZ (but looks similar). Therefore the FAILED_QA is invalid and this bz was actually fixed in version ipa-4.0.3-1.el7, i.e. RHEL 7.1.

Comment 12 Abhijeet Kasurde 2015-09-22 13:29:30 UTC
Could you please add steps to verify this bug?

Comment 13 Petr Vobornik 2015-10-06 16:36:43 UTC
1. Create 2 non-admin users, e.g. "fbar" and "bbar", set password for "fbar"
2. Login to Web UI as fbar 
3. Click on users tab to show list of users
4. Navigate to "bbar" details page
5. Check that "Email address" field doesn't have "delete" button visible.

Comment 14 Abhijeet Kasurde 2015-10-07 08:51:50 UTC
Verified.

IPA server version ::

ipa-server-4.2.0-12.el7.x86_64

Comment 15 errata-xmlrpc 2015-11-19 12:00:45 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.

https://rhn.redhat.com/errata/RHBA-2015-2362.html


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