Skip to content

Commit

Permalink
Merge pull request #466 from Xpirix/version_edit
Browse files Browse the repository at this point in the history
Fix plugins version edit
  • Loading branch information
Xpirix authored Nov 21, 2024
2 parents 10598b8 + 107593e commit ca2d2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgis-app/plugins/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ def version_update(request, package_name, version):
return render(
request, "plugins/version_permission_deny.html", {"plugin": plugin}
)
version = PluginVersion(plugin=plugin, created_by=request.user)
version.created_by = request.user
is_trusted=request.user.has_perm("plugins.can_approve")
return _version_update(request, plugin, version, is_trusted=is_trusted)

Expand Down

0 comments on commit ca2d2cf

Please sign in to comment.