/userContent access needs Overall/Read permission. Handing out API tokens even as part of URLs is not a good idea, as it gives the full privileges of the user it is associated with.
> On 18.07.2016, at 11:19, Christoph M <[email protected]> wrote: > > Hi! > > We're using the Google Login Plugin on our Jenkins. Now I want to serve a > file via the userContent folder. This works and I can access the file when > logged in with my browser. But now I want the file to be accessible without > being logged in. When I try to access the file I am redirected to the Google > Login page. Is there a way to generate a token for this single file or is it > possible to use my user API token to add as a parameter for the image URL? > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/ae0de9c1-cae9-4cc8-8889-f0aa819a09f5%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/C0D12AA7-D9FB-4DA2-8FC9-43DDAF29D00B%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
