I am sorry, I have to correct myself too:
The privilege should be "admin" and not "admin]"
The privilege should be "admin" and not "admin]"
code should be:
permission::require_permission \
-object_id $package_id \
-privilege admin