#2280 ipa permission-mod prompts for all parameters
Closed: Fixed None Opened 13 years ago by mkosek.

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

Description of problem:
When modifying an existing permission to just modify its permissions, it
prompts for all parameters to be entered again

1> Add a permission to have read and write permissions:
# ipa permission-add ManageUser --permissions="read,write" --type=user
--attr=carlicense,description

-----------------------------
Added permission "ManageUser"
-----------------------------
  Permission name: ManageUser
  Permissions: read, write
  Attributes: carlicense, description
  Type: user


2> Modify the permission to have just read permission:
# ipa permission-mod ManageUser --permissions=read
[Attributes]: carlicense
[Type]: user
[Member of group]:
[Filter]:
[Subtree]:
[Target group]:
--------------------------------
Modified permission "ManageUser"
--------------------------------
  Permission name: ManageUser
  Permissions: read
  Attributes: carlicense
  Type: user

Had to enter all parameters again.

Version-Release number of selected component (if applicable):
freeipa-server-2.1.4-4.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1. Add a permission as above
2. Modify this permission - as above


Actual results:
have to re-enter all parameters, even those that are not changing.

Expected results:
Modify permission based on what is provided in the command, and not prompt for
all attr.

Additional info:

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

8 years ago

Log in to comment on this ticket.

Metadata