1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-30 14:18:38 +00:00

Fix public activity showing private repos (#892)

* Fix public activity showing private repos (#811)

Signed-off-by: Morgan Bazalgette <the@howl.moe>

* error check after setting is_private to true

* Add test for UpdateRepository w/ visibility change
This commit is contained in:
Morgan Bazalgette
2017-02-11 11:57:57 +01:00
committed by Lunny Xiao
parent a36a8f4d72
commit 442145dbd3
5 changed files with 67 additions and 0 deletions

View File

@@ -149,3 +149,18 @@
avatar_email: user10@example.com
num_repos: 3
is_active: true
-
id: 11
lower_name: user11
name: user11
full_name: User Eleven
email: user11@example.com
passwd: password
type: 0 # individual
salt: salt
is_admin: false
avatar: avatar11
avatar_email: user11@example.com
num_repos: 1
is_active: true