diff options
Diffstat (limited to 'git.liw.fi.sh')
-rw-r--r-- | git.liw.fi.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/git.liw.fi.sh b/git.liw.fi.sh index d7df0b5..fca4bc3 100644 --- a/git.liw.fi.sh +++ b/git.liw.fi.sh @@ -92,6 +92,29 @@ user_del() } +# Create a group on the server. + +group_add() +{ + run_gitano_as "$1" group add "$2" group for testing +} + + +# Add a user to a group. + +group_adduser() +{ + run_gitano_as "$1" group adduser "$2" "$3" +} + +# Remove a group. + +group_del() +{ + two_step run_gitano_as "$1" group del "$2" +} + + # Does a repository exist? repo_exists() |