Gitea: Can't enable option "This account has permissions to import local repositories"

Created on 14 Jul 2017  路  2Comments  路  Source: go-gitea/gitea

  • 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

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

Most helpful comment

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

All 2 comments

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jorise7 picture jorise7  路  3Comments

kolargol picture kolargol  路  3Comments

cookiengineer picture cookiengineer  路  3Comments

jonasfranz picture jonasfranz  路  3Comments

Fastidious picture Fastidious  路  3Comments