Granting/Updating Permission for Packages (#2)

Co-authored-by: Tim Lorsbach <tim@lorsba.ch>
Reviewed-on: enviPath/enviPy#2
This commit is contained in:
2025-06-25 08:49:58 +12:00
parent 7c3bc69b38
commit 844d0708c9
9 changed files with 303 additions and 588 deletions

View File

@ -63,7 +63,7 @@ class Command(BaseCommand):
up = UserPackagePermission()
up.user = owner
up.package = pack
up.permission = up.ALL
up.permission = up.ALL[0]
up.save()
# Stores old_id to new_id