DevAuth support for reseller admins and an initial super admin. DevAuth server no longer needs the account ring or direct account server access. Proxy server supports account PUTs.
This commit is contained in:
11 changed files with 284 additions and 168 deletions
@@ -124,7 +124,7 @@ class Connection(object):
if response.status == 401:
raise AuthenticationFailed()
if response.status != 204:
if response.status not in (200, 204):
raise ResponseError(response)
for hdr in response.getheaders():
@@ -172,7 +172,7 @@ class TestAccount(Base):
def testPUT(self):
self.env.account.conn.make_request('PUT')
self.assert_status(405)
self.assert_status([403, 405])
def testAccountHead(self):
try_count = 0
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.