On Jun 8, 9:40 am, Oveek <[email protected]> wrote: > Something to note in the docs when adding roles to an existing user: > "When you update an existing user from the command line it is just > like creating the user anew. There is (as yet) no true update > functionality. Because of this, when you add a role to an existing > user (from the command line), you will be resetting their password." > > I don't know how regularly roles would be added to users in practice, > but I think having the user's password reset each time is going to be > troublesome.
Yes, this might be generously called a bug, but really it is laziness on my part: I simply never got around to making an update command. One way to do it would be to take flagged arguments to the various twanager commands. I hadn't done this before because, frankly, the option parsing libraries for Python are labor intensive. But you could have: twanager user --add-role foobar cdent.tumblr.com and that would do an update for the existing user cdent.tumblr.com to add the role foobar. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
