[Buildbot-devel] WebStatus issue: Warning: Ignoring authentication. Search for 'authorization' in the manual
ariasgore at gmx.de
ariasgore at gmx.de
Fri Dec 24 18:58:29 UTC 2010
Hi,
well that would be more than bad since I do need to protected the entire display of buildbot behind a password protection and I dont want to duplicate everything by using this more simple authz config stuff.
Is there another way? My apache is already password protected but how do I deal with the server user access management of buildbot?
Thanks
Sam
-------- Original-Nachricht --------
> Datum: Fri, 24 Dec 2010 08:25:26 -0800
> Von: Amber Yust <ayust at yelp.com>
> An: ariasgore at gmx.de
> CC: buildbot-devel at lists.sourceforge.net
> Betreff: Re: [Buildbot-devel] WebStatus issue: Warning: Ignoring authentication. Search for \'authorization\' in the manual
> @param auth: deprecated; use with authz
>
> I don't believe 'auth' is being supported anymore; the entire branch aside
> from the 'if authz' is there for backwards compatibility.
>
> ~Amber
>
> On Fri, Dec 24, 2010 at 7:31 AM, <ariasgore at gmx.de> wrote:
>
> > Hello,
> > I am on buildbot 0.8.3 and there seems to be some weirdness. I tried
> using
> > authentication via:
> >
> > from buildbot.status.web.auth import HTPasswdAuth
> > auth = (HTPasswdAuth('/var/www/vhosts/.htpasswd'))
> > c['status'].append(html.WebStatus(http_port=8010, auth=auth))
> > (Thats from buildbot's manual!)
> >
> > Config fails with Warning: Ignoring authentication. Search for
> > 'authorization' in the manual
> >
> > Now I checked the manual and I see no issue. However the WebStatus code
> > confuses me:
> >
> >
> http://buildbot.net/buildbot/docs/latest/reference/buildbot.status.web.baseweb-pysrc.html
> > Line 296 is the error message described here but when I trace the code
> it
> > seems quite weird to me:
> >
> > 282 if authz:
> > ... not applicable since using auth
> > 288 else:
> > 289 # invent an authz
> > 290 if allowForce and auth:
> > 291 authz = Authz(auth=auth, default_action="auth")
> > 292 elif allowForce:
> > 293 authz = Authz(default_action=True)
> > 294 else:
> > 295 if auth:
> > 296 log.msg("Warning: Ignoring authentication.
> Search
> > for 'authorization'"
> > 297 " in the manual")
> > ...
> >
> > Can sb explain that to me? I mean I am in the else branch and allowForce
> is
> > marked as deprecated and should not be used so how comes that I do need
> to
> > use allowForce when creating the webstatus???
> >
> > Thanks
> > Sam (confused)
> >
> >
> > --
> > GMX DSL Doppel-Flat ab 19,99 Euro/mtl.! Jetzt auch mit
> > gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
> >
> >
> >
> ------------------------------------------------------------------------------
> > Learn how Oracle Real Application Clusters (RAC) One Node allows
> customers
> > to consolidate database storage, standardize their database environment,
> > and,
> > should the need arise, upgrade to a full multi-node Oracle RAC database
> > without downtime or disruption
> > http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > Buildbot-devel mailing list
> > Buildbot-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/buildbot-devel
> >
--
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail
More information about the devel
mailing list