diff --git a/warehouse/templates/manage/token.html b/warehouse/templates/manage/token.html index e414931314f9..bc61fa414b23 100644 --- a/warehouse/templates/manage/token.html +++ b/warehouse/templates/manage/token.html @@ -30,6 +30,14 @@
+ Permissions: Upload packages
+ {% if macaroon.caveats.permissions == "user" %}
+ Scope: Entire account (all projects)
+ {% else %}
+ Scope: Project "{{ macaroon.caveats.permissions.projects[0] }}"
+ {% endif %}
+
For instructions on how to use this token, visit the PyPI help page.
{{ serialized_macaroon }}
Upload packages
+