On Wed, 19 Dec 2012 00:02:11 +0100
"j. v. d. hoff" <[email protected]> wrote:
> even for small teams I'd prefer to be able to do user management (easily)
> from the command line.
> so I don't overlook anything if I presume that user management currently
> _needs_ to be done
> via the web gui?
Nope, it doesn't.
> some fossil command like
> fossil adduser {basic configuration options go here} user1, user2, ...
It's not quite that easy - you have to mangle one user at a time, and
user creation is it's own command.
> would be nice to have. fine-tuning might be delegated to the webinterface
> but
> the basic things (adding admin users, development users etc) should be
> possible otherwise.
I'd say it is. It could be better, but it's there. I generally wind up
running a shell loop:
for u in $DEVS ADMINS $READERS
do
# create user name from company mail address, password is PW<name>.
fs new $u [email protected] PW$u -R $REPO
done
for dev in $DEVS
do
# Set up developers
fs cap $dev v -R $REPO
done
Setting up new users in mass doesn't make a lot of sense - you
probably want to set contact information and passwords separately
anyway. Setting permissions (capabilities) for a group would be a nice
enhancement.
<mike
--
Mike Meyer <[email protected]> http://www.mired.org/
Independent Software developer/SCM consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users