mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
更改组织可见性为私有,则需将该组织下的所有仓库同步更改为私有仓库
This commit is contained in:
@@ -134,7 +134,7 @@ class Organizations::OrganizationsController < Organizations::BaseController
|
||||
project.update_attributes!(is_public: false)
|
||||
project.forked_projects.update_all(is_public: project.is_public)
|
||||
gitea_params = {
|
||||
private: false,
|
||||
private: true,
|
||||
default_branch: project.default_branch,
|
||||
website: project.website,
|
||||
name: project.identifier
|
||||
|
||||
Reference in New Issue
Block a user