-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support a member-only organisation profile README #29503
Comments
@kernusr i would like to pick this issue - lmk if there are any concerns |
Hi! Is this issue open for contribution or @Arpit1048 you are still working on it? |
I posted a feedback on GitHub Community Discussion recently, which is talking about the similar feature request: https://github.com/orgs/community/discussions/125724 I recommended that Gitea adopt the following organization profile READMEs for Public and Member-Only modes:
|
I do agree it would be easier to throw both private and public org READMEs into a single .profile repository. I'm not familiar with private org READMEs, but one potential concern that I think would arise is that they may contain information or links that organizations may not want to share with the public. Currently I see two solutions for this:
|
|
I want to work on this, is this ok? |
You are welcome to do this. Please describe your design or proposal about the implementation especially whether we should use a new repository like @lafriks described. This will make the following review process more easier and less rewritten. |
I propose to use a new repository for this issue as @lafriks described. The GitHub organization's member profile uses a separate repository as well. For the design:
The challenges in this design:
These are things I've implemented in #32872, sorry for the inconvenience that I did not discuss here at first. |
Can we put the content in the same repository? I don't know whether people would like to change something both in the |
I'm unsure if we can because I'm quite new to this project.
If changing both profiles is frequent and similar, they should stick with 1 public profile. If they need something that looks similar but uses a different link (like templating)? I think it is possible to integrate such commits through actions using a profile as base repo. For the design, I am more inclined to use the different repo names and have different visibilities (1 public 1 private). So non-members will not see the private profile readme in the overview tab, but they can see it just by navigating to the This comment is built on I think the git repo does not have a file-level visibility feature. |
I dug into the code, the logic can be added in web_src by replacing checkbox logic from the static template with the |
I personally think we should have them in separate repositories given what I said in #29503 (comment). |
To be honest, it is not a "good first issue", developers should be familiar with Gitea's permission (org member) system. |
Implemented #29503 --------- Co-authored-by: Ben Chang <[email protected]> Co-authored-by: wxiaoguang <[email protected]>
Feature Description
Many thanks to everyone who worked on the development of features
.profile/README.md
! It's great!When so much has been done for public profiles, I would like to know what you think about private
README.md
?I won’t tell you why this is needed, because everyone will determine for themselves why they need it. I'll just leave this link to GitHub https://docs.github.com/en/organizations/collaborating-with-groups-in-organizations/customizing-your-organizations-profile#adding-a-member-only-organization-profile-readme
Personally, my company and I use this functionality on GitHub and we really want to see something similar in Gitea. But first I would like to discuss the issue with the community
Screenshots
No response
The text was updated successfully, but these errors were encountered: