#4074 [RFE] Multivalued targetfilter in permissions
Closed: Fixed None Opened 10 years ago by pviktori.

"type" permissions (e.g. --type=user) should use targetfilter instead of target (e.g. (targetfilter = "(objectclass=ipaUser)"))

To make sure this works with another, user-specified, filter, we need to allow multiple values in targetfilter and have --type work only on the objectclass one.

For additional flexibility, add targetattrfilter (also multi-valued).

Mailing list thread: http://www.redhat.com/archives/freeipa-devel/2013-December/msg00063.html


master:

  • e951f18 permissions: Use multivalued targetfilter
  • 78b657b Add permission_filter_objectclasses for explicit type filters
  • 0f1e137 Add tests for multivalued filters

Additional fix:

master:

  • 0c2aec1 permission plugin: Allow multiple values for memberof

Metadata Update from @pviktori:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 4.0 - 2014/02

7 years ago

Login to comment on this ticket.

Metadata