summaryrefslogtreecommitdiffstats
path: root/models/fixtures/collaboration.yml
diff options
context:
space:
mode:
authormrsdizzie <info@mrsdizzie.com>2019-05-16 11:48:40 -0400
committertechknowlogick <techknowlogick@gitea.io>2019-05-16 11:48:40 -0400
commit68a83cc5a240504e7d35ed2cdc1fae889fc08a1b (patch)
tree8f7a331c3d06f98a7680ffd3fcd654beef49b972 /models/fixtures/collaboration.yml
parentd9dcd093403b3194bcf3b4be36eaf90250e06ed1 (diff)
downloadgitea-68a83cc5a240504e7d35ed2cdc1fae889fc08a1b.tar.gz
gitea-68a83cc5a240504e7d35ed2cdc1fae889fc08a1b.zip
Allow collaborators to view repo owned private org (#6965)
Handle case where an orginization is private but a user who is not a member of the orgninization has been added as a collaborator of a repo within that org Fixes #6962
Diffstat (limited to 'models/fixtures/collaboration.yml')
-rw-r--r--models/fixtures/collaboration.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/fixtures/collaboration.yml b/models/fixtures/collaboration.yml
index 18db9c36c5..d32e288e4c 100644
--- a/models/fixtures/collaboration.yml
+++ b/models/fixtures/collaboration.yml
@@ -9,3 +9,9 @@
repo_id: 4
user_id: 4
mode: 2 # write
+
+-
+ id: 3
+ repo_id: 40
+ user_id: 4
+ mode: 2 # write \ No newline at end of file