Skip to content

Commit

Permalink
Fix plugins version edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Nov 15, 2024
1 parent db7366b commit 614371c
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 @@ -1278,7 +1278,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 614371c

Please sign in to comment.