[Freeipa-devel] [PATCH] 067 A new flag to disable creation of UPG

Martin Kosek mkosek at redhat.com
Sun May 22 13:57:43 UTC 2011


On Fri, 2011-05-20 at 10:58 -0400, Rob Crittenden wrote:
> Rob Crittenden wrote:
> > Martin Kosek wrote:
> >> On Mon, 2011-05-16 at 22:12 -0400, Rob Crittenden wrote:
> >>> Martin Kosek wrote:
> >>>> This patch is based on old Pavel's patch.
> >>>>
> >>>> I am considering applying the patch for master branch only as it
> >>>> changes
> >>>> an API (adds a new flag) and is a sort of new-functionality-ish.
> >>>>
> >>>> --
> >>>> Automatic creation may of User Private Groups (UPG) may not be
> >>>> wanted at all times. This patch adds a new flag --noprivate to
> >>>> ipa user-add command to disable it.
> >>>>
> >>>> https://fedorahosted.org/freeipa/ticket/1131
> >>>
> >>> Nack, setattr and addattr are removed from API.txt. I'm guessing it's a
> >>> side-effect of some change here.
> >>>
> >>> The approach generally looks good.
> >>>
> >>> rob
> >>
> >> You are right, this was a side-effect in user.py. I fixed the problem,
> >> updated patch is attached.
> >>
> >> Martin
> >
> > This looks good, just a couple of requests:
> >
> > 1. Bump the minor API version since we are adding a new flag
> > 2. Add a self-test for not creating a private group
> >
> > rob
> 
> Oh, and looking back at the user I create it still has the UPG magic in 
> the description attribute.
> 
> rob

Thanks for careful review, I missed this bug in the original patch. UPG
magic has been removed from the description and a test checking all this
has been added.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-067-3-a-new-flag-to-disable-creation-of-upg.patch
Type: text/x-patch
Size: 11109 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110522/9fa3aa4e/attachment.bin>


More information about the Freeipa-devel mailing list