mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
Fixed bug in org repo share, and clean code
This commit is contained in:
2
utils.py
2
utils.py
@@ -254,7 +254,7 @@ def get_accessible_repos(request, repo):
|
||||
group_repo = get_repo(repo_id)
|
||||
if not group_repo:
|
||||
continue
|
||||
group_repo.share_from = seafserv_threaded_rpc.get_group_repo_share_from(repo_id)
|
||||
group_repo.share_from = seafserv_threaded_rpc.get_group_repo_owner(repo_id)
|
||||
if email != group_repo.share_from:
|
||||
groups_repos.append(group_repo)
|
||||
|
||||
|
Reference in New Issue
Block a user