#2885 permission plugin is not handling *attr parameters correctly.
Closed: Fixed None Opened 11 years ago by shanks.

Version: freeipa-server-2.99.0-0.20120628T1453Zgita6ff85f.fc17.x86_64

# ipa permission-add ManageUser5 --permissions="read,write" --type=user --attr=carlicense,description --setattr=owner=cn=test --addattr=owner=cn=test2
ipa: ERROR: Unknown option: addattr

This worked previously:

:: [08:52:46] ::   Executing: ipa permission-add ManageUser5 --permissions="read,write" --type=user --attr=carlicense,description --setattr=owner=cn=test --addattr=owner=cn=test2
^[[?1034h------------------------------
Added permission "ManageUser5"
------------------------------
  Permission name: ManageUser5
  Permissions: read, write
  Attributes: carlicense, description
  Type: user
:: [08:52:46] ::  Added new permission ManageUser5 successfully

This is a regression to the latest stricter option validation mechanism. Moving to Beta 1 bucket.

master: 03f247e

Metadata Update from @shanks:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.0 Beta 1

7 years ago

Login to comment on this ticket.

Metadata