<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 08/18/2015 09:59 AM, thierry bordaz
wrote:<br>
</div>
<blockquote cite="mid:55D2E5C9.7030703@redhat.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">On 08/18/2015 09:55 AM, Martin Basti
wrote:<br>
</div>
<blockquote cite="mid:55D2E4E0.6010005@redhat.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<br>
<br>
<div class="moz-cite-prefix">On 08/18/2015 09:50 AM, thierry
bordaz wrote:<br>
</div>
<blockquote cite="mid:55D2E3C1.2030404@redhat.com" type="cite">
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 08/17/2015 08:33 PM, Martin
Basti wrote:<br>
</div>
<blockquote cite="mid:55D2290F.3030509@redhat.com" type="cite">Hello,
<br>
<br>
the 'user-stage' command replaces 'stageuser-add
--from-delete' command. <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://fedorahosted.org/freeipa/ticket/5041">https://fedorahosted.org/freeipa/ticket/5041</a>
<br>
<br>
Thierry can you check If I don't break everything, it works
for me, but the one never knows. <br>
<br>
Honza can you please check the framework side? I use
self.api.Object.stageuser.add.* in user command, I'm not
sure if this is right way, but it works. <br>
<br>
Patch attached. I created it in hurry, I'm expecting NACK :D
<br>
<br>
<br>
Just question at the end: should I implement way Active user
-> stageuser? IMHO it would be implemented internally by
calling 'user-del --preserve' inside 'user-stage'. <br>
<br>
<br>
<br>
</blockquote>
<font face="Times New Roman, Times, serif">Hi Martin,<br>
<br>
There is a small failure with VERSION (edewata pushed his
patch first ;-) )<br>
<br>
</font>
<blockquote><tt>git apply -v
/tmp/freeipa-mbasti-0297-Add-user-stage-command.patch</tt><br>
<tt>Checking patch API.txt...</tt><br>
<tt>Checking patch VERSION...</tt><br>
<tt>error: while searching for:</tt><br>
<tt># #</tt><br>
<tt>########################################################</tt><br>
<tt>IPA_API_VERSION_MAJOR=2</tt><br>
<tt>IPA_API_VERSION_MINOR=148</tt><br>
<tt># Last change: ftweedal - add --out option to user-show</tt><br>
<br>
<tt>error: patch failed: VERSION:90</tt><br>
<tt>error: VERSION: patch does not apply</tt><br>
<tt>Checking patch ipalib/plugins/stageuser.py...</tt><br>
<tt>Checking patch ipalib/plugins/user.py...</tt><br>
</blockquote>
<font face="Times New Roman, Times, serif"><br>
</font> </blockquote>
There is many pending patches that may change VERSION number, I
will change it to right one before push.<br>
<br>
Does code looks good for you?<br>
</blockquote>
<font face="Times New Roman, Times, serif">Hi Martin,<br>
<br>
Just a question, there is no additional permission. Did you test
being 'admin' ?<br>
<br>
thanks<br>
theirry<br>
</font> </blockquote>
No I didn't,.<br>
<br>
I preserver all permission, the original permissions should work.<br>
<br>
Martin<br>
</body>
</html>