[Freeipa-devel] [PATCH] 267 Filter groups by type (normal, posix, external)

Petr Vobornik pvoborni at redhat.com
Tue Mar 12 16:28:41 UTC 2013


Here's a patch for filtering groups by type.
Design page: http://www.freeipa.org/page/V3/Filtering_groups_by_type

The interface is:
> StrEnum('type?',
>     cli_name='type',
>     label=_('Type'),
>     doc=_('Group type'),
>     values=(u'posix', u'normal', u'external'),
> ),

I have two design questions.
1. Is --type the right option name?
2. Is `normal` the right name for non-posix, non-external group? The 
default group type (when adding group) is posix. Should the name be 
something else: `simple`, `plain`, `ordinary`?

I didn't want to create an option for each type. IMO it brings more 
complexity.

https://fedorahosted.org/freeipa/ticket/3483
-- 
Petr Vobornik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pvoborni-0267-Filter-groups-by-type-normal-posix-external.patch
Type: text/x-patch
Size: 11018 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130312/539c5d43/attachment.bin>


More information about the Freeipa-devel mailing list