[prev in list] [next in list] [prev in thread] [next in thread]
List: trac
Subject: [Trac] Re: rename user
From: RjOllos <rjollos () gmail ! com>
Date: 2018-11-14 23:03:19
Message-ID: 9d67e1bb-b173-492f-a84b-0cb622e1f5e0 () googlegroups ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Wednesday, November 7, 2018 at 2:58:09 AM UTC-8, Clemens Feige wrote:
>
> Hello
>
> As of today what is the recommended way to rename a user in TRAC?
>
> I am using TRAC 1.2.2 on Linux.
>
> May I run some SQL commands to change the database directly?
> Or do you think this would be too much error-prone?
>
> I read about the AccountManagerPlugin. Is this what I should use?
> There has been a discussion in 2015 (see snipped below), but I am not
> sure about the current status.
>
> Probably the cheapest workaround would be to keep the old user name and
> create a completely new user. Then re-assign all (open) tickets.
> Unfortunately this way one cannot change: ticket reporter, CC, comments,
> closed tickets any many more.
>
> Any hints?
>
> Thanks
> Clemens
>
AccountManager has a rename user feature, but I'm not sure how well it
works. You might give it a try on a copy of your database.
It shouldn't be too hard to run the SQL queries. Here's the database schema
for reference:
https://trac.edgewall.org/wiki/TracDev/DatabaseSchema
It would be nice to have a trac-admin command for renaming a user. Someone
could write a plugin that implements IAdminCommandProvider. That could be a
useful addition to Trac, or at least for a plugin to be placed in the
contrib directory.
https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.admin.api.IAdminCommandProvider
- Ryan
--
You received this message because you are subscribed to the Google Groups "Trac \
Users" group. To unsubscribe from this group and stop receiving emails from it, send \
an email to trac-users+unsubscribe@googlegroups.com. To post to this group, send \
email to trac-users@googlegroups.com. Visit this group at \
https://groups.google.com/group/trac-users. For more options, visit \
https://groups.google.com/d/optout.
[Attachment #5 (text/html)]
<div dir="ltr"><br><br>On Wednesday, November 7, 2018 at 2:58:09 AM UTC-8, Clemens \
Feige wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: \
0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hello <br>
<br>As of today what is the recommended way to rename a user in TRAC?
<br>
<br>I am using TRAC 1.2.2 on Linux.
<br>
<br>May I run some SQL commands to change the database directly?
<br>Or do you think this would be too much error-prone?
<br>
<br>I read about the AccountManagerPlugin. Is this what I should use?
<br>There has been a discussion in 2015 (see snipped below), but I am not
<br>sure about the current status.
<br>
<br>Probably the cheapest workaround would be to keep the old user name and
<br>create a completely new user. Then re-assign all (open) tickets.
<br>Unfortunately this way one cannot change: ticket reporter, CC, comments,
<br>closed tickets any many more.
<br>
<br>Any hints?
<br>
<br>Thanks
<br>Clemens
<br></blockquote><div><br></div><div>AccountManager has a rename user feature, but \
I'm not sure how well it works. You might give it a try on a copy of your \
database.</div><div><br></div><div>It shouldn't be too hard to run the SQL \
queries. Here's the database schema for \
reference:</div><div>https://trac.edgewall.org/wiki/TracDev/DatabaseSchema<br></div><div><br></div><div>It \
would be nice to have a trac-admin command for renaming a user. Someone could write a \
plugin that implements IAdminCommandProvider. That could be a useful addition to \
Trac, or at least for a plugin to be placed in the contrib \
directory.</div><div>https://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.admin.api.IAdminCommandProvider<br></div><div><br></div><div>- \
Ryan</div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "Trac \
Users" group.<br /> To unsubscribe from this group and stop receiving emails \
from it, send an email to <a \
href="mailto:trac-users+unsubscribe@googlegroups.com">trac-users+unsubscribe@googlegroups.com</a>.<br \
/> To post to this group, send email to <a \
href="mailto:trac-users@googlegroups.com">trac-users@googlegroups.com</a>.<br /> \
Visit this group at <a \
href="https://groups.google.com/group/trac-users">https://groups.google.com/group/trac-users</a>.<br \
/> For more options, visit <a \
href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br \
/>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic