I can't change 'This account has permision to import local repositories'

I try to allow a user to import local repositories.
I mark the check and press ‘Update account profile’ in Admin Panel / Users but after reloaded page the check still appear as unchecked…

Gitea Version: e90bbca

Any advice ?

You should change the config at custom/app.ini at first.

As @lunny said you have to enable this within your app.ini first. Some information to the background of that: There had been users concerned for the security impact to enable this option only via the web interface, so we introduced this flag that have to be enabled by the Gitea administrator.

To improve the usability we should disable this checkbox attribute and add a tooltip with instructions how to get it working.

I can’t enable the checkbox either. And as @tboerger said I can’t find the attribute that controlling this checkbox.

Any body can tell me which attribute in app.ini can fix the problem. Thanks a lot.



@guillep2k get it ! Thanks. It didn’t appeared in my app.ini, may because I download the docker image version,I will find the full version of app.ini file.

Thank you anyway!