#3164 [hub] only raise error when authtype is not proxyauthtype
Merged 5 months ago by tkopecek. Opened 5 months 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

5 months ago

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

5 months ago

Commit e23e7d6 fixes this pull-request

Pull-Request has been merged by tkopecek

5 months ago
Metadata