summaryrefslogtreecommitdiff
path: root/git.liw.fi.yarn
diff options
context:
space:
mode:
Diffstat (limited to 'git.liw.fi.yarn')
-rw-r--r--git.liw.fi.yarn12
1 files changed, 11 insertions, 1 deletions
diff --git a/git.liw.fi.yarn b/git.liw.fi.yarn
index 1185597..7ce5e13 100644
--- a/git.liw.fi.yarn
+++ b/git.liw.fi.yarn
@@ -77,8 +77,10 @@ be able to remove the repository.
WHEN admin creates user tstusr
AND admin creates repository tstrepo
- THEN admin can clone tstrepo using git
+ THEN admin can see repository tstrepo
+ AND admin can clone tstrepo using git
AND admin can clone tstrepo using ssh
+ AND tstusr can see repository tstrepo
AND tstusr can clone tstrepo using ssh
WHEN tstusr attempts to remove repository tstrepo
@@ -208,6 +210,14 @@ Repositories can only be created by the admin.
IMPLEMENTS WHEN admin creates repository (\S+)
run_gitano_as admin create "$MATCH_1"
+Repository listing
+------------------
+
+ IMPLEMENTS THEN (\S+) can see repository (\S+)
+ run_gitano_as "$MATCH_1" ls |
+ awk -v "r=$MATCH_2" '$NF == r' |
+ grep .
+
Repository cloning
------------------