Skip to content
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

In Admin User Edit "May Import Local Repository" always editable #4779

Closed
2 of 7 tasks
EnricoFerro opened this issue Aug 23, 2018 · 2 comments
Closed
2 of 7 tasks

In Admin User Edit "May Import Local Repository" always editable #4779

EnricoFerro opened this issue Aug 23, 2018 · 2 comments
Labels
topic/ui Change the appearance of the Gitea UI
Milestone

Comments

@EnricoFerro
Copy link
Contributor

EnricoFerro commented Aug 23, 2018

  • Gitea version (or commit ref): Actual ( Probably from d67b278 )
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

May Import Local Repositry remain editable when setting IMPORT_LOCAL_PATHS is false or missing,
should be disabled like May Create Git Hooks #2450 ( with the setting DISABLE_GIT_HOOKS )

Screenshots

Setting in the screenshot:

[security]
...
IMPORT_LOCAL_PATHS = false
DISABLE_GIT_HOOKS = true 

As is:
image

How should be:
image

@techknowlogick
Copy link
Member

Link ticket #4482

@techknowlogick techknowlogick added the topic/ui Change the appearance of the Gitea UI label Aug 23, 2018
@EnricoFerro EnricoFerro changed the title "May Import Local Repository" always editable In Admin User Edit "May Import Local Repository" always editable Aug 23, 2018
EnricoFerro pushed a commit to EnricoFerro/gitea that referenced this issue Aug 23, 2018
@techknowlogick techknowlogick added this to the 1.6.0 milestone Aug 23, 2018
@EnricoFerro
Copy link
Contributor Author

Merged #4780 that resolve this issue

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

No branches or pull requests

2 participants