#3164 [hub] only raise error when authtype is not proxyauthtype
Merged 2 years ago by tkopecek. Opened 2 years ago by julian8628.
julian8628/koji issue/3163  into  master

file modified
+1 -1
@@ -376,7 +376,7 @@ 

  

              # in this point we can continue with proxied user in same way as if it is not proxied

              if proxyauthtype is not None:

-                 if not context.opts['AllowProxyAuthType']:

+                 if not context.opts['AllowProxyAuthType'] and authtype != proxyauthtype:

                      raise koji.AuthError("Proxy must use same auth mechanism as hub (behaviour "

                                           "can be overriden via AllowProxyAuthType hub option)")

                  if proxyauthtype not in (koji.AUTHTYPE_GSSAPI, koji.AUTHTYPE_SSL):

Metadata Update from @tkopecek:
- Pull-request tagged with: testing-ready

2 years ago

Metadata Update from @jobrauer:
- Pull-request tagged with: testing-done

2 years ago

Commit e23e7d6 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago
Metadata