#2320 ipa permisison-find --name brings back all permissions
Closed: Fixed None Opened 12 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=785251 (Red Hat Enterprise Linux 6)

Description of problem:
Use --name to bring back the permission, and all permissions are retrieved.

# ipa permission-find --name=ManageUser1
brings back all permissions.

# ipa permission-find ManageUser1
--------------------
1 permission matched
--------------------
  Permission name: ManageUser1
  Permissions: write
  Attributes: carlicense, description
  Type: user
----------------------------
Number of entries returned 1
----------------------------

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


How reproducible:
always

Steps to Reproduce:
1. add a permission
2. find it using
ipa permission-find --name=<name>


Actual results:
All permissions are listed

Expected results:
Just that permission is listed

Additional info:

Getting a new error with v2.2.0

ipa permission-find --name=foo
ipa: ERROR: overlapping arguments and options: ['cn']

Metadata Update from @mkosek:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2012/05

7 years ago

Login to comment on this ticket.

Metadata