Re: Is there a way to rename a user?
Go ahead and just email me a screenshot of what it says. Christian On Sep 12, 2012, at 20:18, Alfred von Campe wrote: > On Sep 12, 2012, at 21:00, Christian Hammond wrote: > >> So the new one has review requests associated with it now? Otherwise, I'd >> say just delete the new one and update the old. > > Yes, the new one has reviews and comments, etc. associated with it (actually > more than the old user does). > >> If there are review requests (or reviews/comments/etc.) associated, we'll >> need to update them. That can be done through a script, but it'd need to be >> fine-tuned for what's associated with that user. >> >> If you hit delete on the new user, it'll give you a confirmation that will >> show all objects associated. Having that list would help draft such a script. > > I can send you this information tomorrow if you tell me what format you > prefer it in. I would also prefer not to post such details on this list. > > Alfred > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
On Sep 12, 2012, at 21:00, Christian Hammond wrote: > So the new one has review requests associated with it now? Otherwise, I'd say > just delete the new one and update the old. Yes, the new one has reviews and comments, etc. associated with it (actually more than the old user does). > If there are review requests (or reviews/comments/etc.) associated, we'll > need to update them. That can be done through a script, but it'd need to be > fine-tuned for what's associated with that user. > > If you hit delete on the new user, it'll give you a confirmation that will > show all objects associated. Having that list would help draft such a script. I can send you this information tomorrow if you tell me what format you prefer it in. I would also prefer not to post such details on this list. Alfred -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
So the new one has review requests associated with it now? Otherwise, I'd say just delete the new one and update the old. If there are review requests (or reviews/comments/etc.) associated, we'll need to update them. That can be done through a script, but it'd need to be fine-tuned for what's associated with that user. If you hit delete on the new user, it'll give you a confirmation that will show all objects associated. Having that list would help draft such a script. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Sep 12, 2012 at 5:06 PM, Alfred von Campe wrote: > On Sep 12, 2012, at 18:10, Christian Hammond wrote: > > You don't need to touch SQL. Just go into the Review Board admin UI, then > click Users, find the username, and rename it there. > > > Doh! I didn't try that. But I just did and it tells me "User with this > Username already exisits." Which makes sense, because it does. I guess > what I am really trying to do is to merge these two accounts which belong > to the same person. > > Alfred > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
On Sep 12, 2012, at 18:10, Christian Hammond wrote: > You don't need to touch SQL. Just go into the Review Board admin UI, then > click Users, find the username, and rename it there. Doh! I didn't try that. But I just did and it tells me "User with this Username already exisits." Which makes sense, because it does. I guess what I am really trying to do is to merge these two accounts which belong to the same person. Alfred -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
You don't need to touch SQL. Just go into the Review Board admin UI, then click Users, find the username, and rename it there. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Sep 12, 2012 at 2:51 PM, Alfred von Campe wrote: > On Sep 12, 2012, at 17:32, Christian Hammond wrote: > > > An admin should be able to go into the database and just rename the > username for that user. > > I'm the admin, but my SQL is a bit rusty and I'm also not very familiar > with the schema. I may be able to figure it out, but any examples/hints > would be much appreciated. > > Alfred > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
On Sep 12, 2012, at 17:32, Christian Hammond wrote: > An admin should be able to go into the database and just rename the username > for that user. I'm the admin, but my SQL is a bit rusty and I'm also not very familiar with the schema. I may be able to figure it out, but any examples/hints would be much appreciated. Alfred -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Re: Is there a way to rename a user?
Hi Alfred, An admin should be able to go into the database and just rename the username for that user. Christian On Sep 12, 2012, at 14:31, Alfred von Campe wrote: > We are using RB 1.6.6 and LDAP for authentication. We recently had a > contractor become a permanent employee and because of this his userid > changed. So he is in the database twice now, once with the old userid and > once with the new one. I can't delete the old userid as it will delete all > the objects and relate items associated with the userid. > > So, is there a way to rename a userid and have the all the existing objects > owned by the old userid owned by the new userid? > > Alfred > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~--~~~~--~~--~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
Is there a way to rename a user?
We are using RB 1.6.6 and LDAP for authentication. We recently had a contractor become a permanent employee and because of this his userid changed. So he is in the database twice now, once with the old userid and once with the new one. I can't delete the old userid as it will delete all the objects and relate items associated with the userid. So, is there a way to rename a userid and have the all the existing objects owned by the old userid owned by the new userid? Alfred -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en