This commit is contained in:
Tim Lorsbach
2025-11-11 19:57:50 +01:00
parent f7d88e4235
commit 91a52c254d
2 changed files with 8 additions and 5 deletions

View File

@ -1112,7 +1112,9 @@ def package(request, package_uuid):
PackageManager.update_permissions(current_user, current_package, grantee, max_perm)
return redirect(current_package.url)
elif cc_string is not None:
cc_string = cc_string.strip()
if cc_string == "no-license": # Reset the package's license
current_package.license = None
current_package.save()