Skip to content

Commit

Permalink
Merge pull request #32 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 15, 2024
2 parents e0ed7f1 + 614371c commit 7540a27
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 7540a27

Please sign in to comment.