TypeError: user_permission_update() got an unexpected keyword argument 'registry_allowed'

What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.15.1
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Change permission/user groups on gitea app

Describe your issue

I tried to change the gitea permissions / user groups.

Share relevant logs or error messages

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 430, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 580, in process
    return func(**arguments)
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/log.py", line 532, in func_wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2259, in app_config_set
    return config_.set(key, value, args, args_file, operation_logger=operation_logger)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yunohost/utils/configpanel.py", line 607, in set
    self._apply(self.form, self.config, previous_settings)
  File "/usr/lib/python3/dist-packages/yunohost/app.py", line 2574, in _apply
    user_permission_update(f"{self.entity}.{perm}", **new_infos)
  File "/usr/lib/python3/dist-packages/yunohost/log.py", line 532, in func_wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
TypeError: user_permission_update() got an unexpected keyword argument 'registry_allowed'

hmm smol poke @Josue in case “registry_allowed” means anything to you ? Could it be an old setting or permission id ? Not sure to understand how it ends up as an argument for user_permission_update()

Is it this gitea_ynh/manifest.toml at 975f67d59c642dbf2963475dce273e93373afd19 · YunoHost-Apps/gitea_ynh · GitHub

What were you trying to do /change?

Think it’s not really related to the gitea package. (btw. i replaced gitea with Forgejo, because it’s more FOSS than gitea)

I will try if i can reproduce it.

EDIT: I played a little around, but i can’t reproduce. Sorry.