Can't enable option "This account has permissions to import local repositories" #891

Closed
opened 2025-11-02 03:40:34 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @FranAguiar on GitHub (Jul 14, 2017).

  • Gitea version (or commit ref): 6a3c037
  • Git version: 2.7.4
  • Operating system: ubuntu 16:04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No (admin account required)
    • Not relevant

Description

As an admin editing an user account, when mark the option "This account has permissions to import local repositories", update the account but the option didn't saved.

Screenshots

image

Edit: In DB is updated correctly, probably is a front-end issue

Originally created by @FranAguiar on GitHub (Jul 14, 2017). - Gitea version (or commit ref): 6a3c037 - Git version: 2.7.4 - Operating system: ubuntu 16:04 - Database (use `[x]`): - [x] PostgreSQL - [x] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No (admin account required) - [ ] Not relevant ## Description As an admin editing an user account, when mark the option "This account has permissions to import local repositories", update the account but the option didn't saved. ## Screenshots ![image](https://user-images.githubusercontent.com/18166018/28207357-542c891e-6881-11e7-8479-33c709af346f.png) Edit: In DB is updated correctly, probably is a front-end issue
Author
Owner

@lafriks commented on GitHub (Jul 14, 2017):

To allow import local repositories (repositories stored on gitea server disk) you need to enable setting in app.ini file

@lafriks commented on GitHub (Jul 14, 2017): To allow import local repositories (repositories stored on gitea server disk) you need to enable setting in app.ini file
Author
Owner

@kwoot commented on GitHub (Apr 4, 2018):

This will probably help the next one a great deal: https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample

; True when users are allowed to import local server paths
IMPORT_LOCAL_PATHS = false

@kwoot commented on GitHub (Apr 4, 2018): This will probably help the next one a great deal: https://github.com/go-gitea/gitea/blob/master/custom/conf/app.ini.sample ; True when users are allowed to import local server paths IMPORT_LOCAL_PATHS = false
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#891