Switch Dashboard Context with Organization Creation Disabled #2177

Closed
opened 2025-11-02 04:26:16 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @yzxd on GitHub (Aug 12, 2018).

Description

If you disable organization creation, the option "New Organization" is still present in the Dashboard under the "Switch Dashboard Context" menu. Clicking it will yield a 500 error, as organization creation is disabled.

Screenshots

1
2

Originally created by @yzxd on GitHub (Aug 12, 2018). - Gitea version (or commit ref): 1.5.0 - Git version: 2.11.0 - Operating system: Debian Stretch - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: https://gist.github.com/yzxd/b09da97d3b80253feb1a6531c6b223e1 ## Description If you disable organization creation, the option "New Organization" is still present in the Dashboard under the "Switch Dashboard Context" menu. Clicking it will yield a 500 error, as organization creation is disabled. ## Screenshots ![1](https://user-images.githubusercontent.com/39245805/44004081-f89fc578-9e4b-11e8-9c9c-2d3dae53566b.png) ![2](https://user-images.githubusercontent.com/39245805/44004082-f92eb38c-9e4b-11e8-999b-cad32aac9be9.png)
GiteaMirror added the topic/uitype/bug labels 2025-11-02 04:26:16 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2177