launchpad-reviewers team mailing list archive
-
launchpad-reviewers team
-
Mailing list archive
-
Message #29665
[Merge] ~jugmac00/launchpad:fix-regression-ppa-permissions-update into launchpad:master
Jürgen Gmach has proposed merging ~jugmac00/launchpad:fix-regression-ppa-permissions-update into launchpad:master.
Commit message:
Fix doctests for recent ppa permissions update
Requested reviews:
Launchpad code reviewers (launchpad-reviewers)
For more details, see:
https://code.launchpad.net/~jugmac00/launchpad/+git/launchpad/+merge/437166
--
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/launchpad:fix-regression-ppa-permissions-update into launchpad:master.
diff --git a/lib/lp/soyuz/stories/webservice/xx-archive.rst b/lib/lp/soyuz/stories/webservice/xx-archive.rst
index dec06cd..68d1294 100644
--- a/lib/lp/soyuz/stories/webservice/xx-archive.rst
+++ b/lib/lp/soyuz/stories/webservice/xx-archive.rst
@@ -1433,7 +1433,7 @@ describes the maximum size, in MiB, allowed for the archive.
1024
Modifying the authorized_size attribute through the API is not allowed except
-for admins, commercial admins, and PPA admins.
+for admins, commercial admins, PPA admins, and Launchpad developers.
>>> mark_archive["authorized_size"] = 4096
>>> response = modify_archive(admin_webservice, mark_archive)
@@ -1448,7 +1448,7 @@ Attempting to modify this flag without the necessary permissions will fail.
>>> print(modify_archive(user_webservice, mark_archive))
HTTP/1.1 401 Unauthorized
...
- (<Archive at ...>, 'authorized_size', 'launchpad.Admin')
+ (<Archive at ...>, 'authorized_size', 'launchpad.Moderate')
Private archives
~~~~~~~~~~~~~~~~
@@ -1643,7 +1643,7 @@ Modifying privacy
~~~~~~~~~~~~~~~~~
Modifying the privacy flag through the API is not allowed except for
-admins, commercial admins, and PPA admins.
+admins, commercial admins, PPA admins, and Launchpad developers.
>>> login("foo.bar@xxxxxxxxxxxxx")
>>> pubpriv_archive_db = factory.makeArchive(
@@ -1657,7 +1657,7 @@ admins, commercial admins, and PPA admins.
>>> print(modify_archive(user_webservice, pubpriv_archive))
HTTP/1.1 401 Unauthorized
...
- (<Archive at ...>, 'private', 'launchpad.Admin')
+ (<Archive at ...>, 'private', 'launchpad.Moderate')
>>> login("foo.bar@xxxxxxxxxxxxx")
>>> ppa_admin = factory.makePerson(