Hi Honas,

Authz do not prevent any UI to be shown. The rebuild button will always be
shown, but you will get an authorization error.

Regards
Pierre


Le mer. 16 oct. 2019 à 22:21, honas grael <honasgraeym...@gmail.com> a
écrit :

> Hello, looking at the docs I have in my master.cf
>
> from buildbot.plugins import *authz = util.Authz(
>   allowRules=[
>     util.AnyControlEndpointMatcher(role="admins"),
>   ],
>   roleMatchers=[
>     util.RolesFromEmails(admins=["joe"])
>   ])auth=util.UserPasswordAuth({'joe': 'mypass'})c['www']['auth'] = 
> authc['www']['authz'] = authz
>
>
>
> When I look at the web UI the "REBUILD" button is still visible & accessible 
> even when I am not logged in
>
> I thought these entries would make the status/progress of builds visible to 
> anyone (anonymous users) but all control buttons such as "rebuild"
>
> , Force etc not visible. I was expecting that only when logged in as joe the 
> buttons to be visible.
>
>
> I would like to have everything read only to all users, but control of any 
> kind available only to the user joe
>
>
> What am I doing wrong here?
>
>
> _______________________________________________
> users mailing list
> users@buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________
users mailing list
users@buildbot.net
https://lists.buildbot.net/mailman/listinfo/users

Reply via email to