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

xor-gate picture xor-gate  路  53Comments

coolaj86 picture coolaj86  路  49Comments

lafriks picture lafriks  路  75Comments

lunny picture lunny  路  82Comments

techknowlogick picture techknowlogick  路  55Comments