From 144038b5b8adfeb809c38bdb4fc280dea514cce4 Mon Sep 17 00:00:00 2001 From: Ofek Lev Date: Sat, 7 Sep 2024 12:25:10 -0400 Subject: [PATCH] PEP 752: minor touchups (#3950) --- peps/pep-0752.rst | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/peps/pep-0752.rst b/peps/pep-0752.rst index ab29d0f5e..9b2a19f86 100644 --- a/peps/pep-0752.rst +++ b/peps/pep-0752.rst @@ -133,8 +133,9 @@ Parent Namespace A namespace's parent refers to the namespace without the trailing hyphenated component e.g. the parent of ``foo-bar`` is ``foo``. Child Namespace - A namespace's child refers to the namespace with an additional trailing - hyphenated component e.g. the child of ``foo`` is ``foo-bar``. + A namespace's child refers to the namespace with additional trailing + hyphenated components e.g. ``foo-bar`` is a valid child of ``foo`` as is + ``foo-bar-baz``. Specification ============= @@ -217,6 +218,17 @@ other organizations to use the grant. In this case, the authorized organizations have no special permissions and are equivalent to an open grant without ownership. +Hidden Grants +------------- + +Repositories MAY create hidden grants that are not visible to the public which +prevent their namespaces from being claimed by others. Such grants MUST NOT be +`open `_ and SHOULD NOT be exposed in the +`API `_. + +Hidden grants are useful for repositories that wish to enforce upload +restrictions without the need to expose the namespace to the public. + .. _repository-metadata: Repository Metadata