Hi

Thank you for your answer.

I understand that it is a process of changing the interpretation of this setting value.
I'm looking forward to future versions including behavior fixes.

Thanks

----
toras9000

On 2021/01/03 7:49, Mads Kiilerich wrote:
Hi

You are right. Kallithea has some bugs around API permission handling. It is not
using the "create top-level repositories" permissions correctly.

This problem is related to the
"This will also give all users API access to create repositories everywhere.
That might change in future versions."
note, even though you see the opposite problem.

This behaviour is kind of intentional -
https://kallithea-scm.org/repos/kallithea/changeset/6620542597d3 - and with some
awareness in the test suite -
https://kallithea-scm.org/repos/kallithea-incoming/changeset/975f5769be08 ...
but doesn't match what hg.create.repositoryactually means:
https://kallithea-scm.org/repos/kallithea/changeset/8aad6a324739#kallitheamodeldbpy_n1676

I propose
https://kallithea-scm.org/repos/kallithea/pull-request/303/_/api_permission_check
 to
fix this.

/Mads


_______________________________________________
kallithea-general mailing list
[email protected]
https://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to