-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Default create repository on organisation on its dashboard #6026
Default create repository on organisation on its dashboard #6026
Conversation
Fix go-gitea#3253 Signed-off-by: Andrew Thornton <[email protected]>
Signed-off-by: Andrew Thornton <[email protected]>
There is a current issue with the repository search - in that it gives completely different results to that obtained by the organisation profile. This needs to be fixed and can either be done as part of this PR or as another PR. |
Codecov Report
@@ Coverage Diff @@
## master #6026 +/- ##
==========================================
- Coverage 38.73% 38.72% -0.02%
==========================================
Files 338 338
Lines 48994 48994
==========================================
- Hits 18977 18971 -6
- Misses 27269 27276 +7
+ Partials 2748 2747 -1
Continue to review full report at Codecov.
|
…ea#6026) * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix go-gitea#3253 Signed-off-by: Andrew Thornton <[email protected]>
…#6048) * Create repository on organisation by default on its dashboard * Only show owners the add new repositories to an organisation button. Fix #3253 Signed-off-by: Andrew Thornton <[email protected]>
When in an organisation's context on the dashboard the create repository "+" button causes default creation on the logged in user. This PR changes this to default to creating on the contexted organisation and will only show the add new repository button if you can create a repository in that organisation.
Fix #3253