7

We use TeamCity 7.1.1 to publish NuGet packages on both the authenticated and public feed URLs. I've just created a new package and can't get it to show up on the public feed, though it does appear on the private feed once I log in.

It smacks of a permissions problem, but I've assigned 'All Users' the 'Project Viewer' role on that build. I have another build that is showing up correctly, and the configuration seems the same. What could be stopping my new build from appearing on the public feed?

Tim Long
  • 13,508
  • 19
  • 79
  • 147

1 Answers1

10

Solved it! I've been scratching my head for hours and of course I find the answer 30 seconds after posting to StackOverflow!

It seems that the Guest account is not a member of All Users, so assigning the Project Viewer role to All Users is not sufficient.

One has to explicitly assign the Project Viewers role to the Guest User. This is confusingly done in a completely separate screen, under Guest user settings, linked from the top right hand side of the main user administration screen. Walla! Job done.

Tim Long
  • 13,508
  • 19
  • 79
  • 147
  • I believe you can close this question as it is not relevant and much obvious – Arpit Oct 04 '12 at 10:55
  • 6
    Things are always obvious once you have the answer - it took me several hours to find it and I believe that makes it non-obvious. I also think its relevant, but then I'm completely biased because its my question. But if it really offends your sensibilities, go ahead and flag it up for moderator attention and we'll let them decide. – Tim Long Oct 09 '12 at 18:18
  • 1
    Awesome, that worked! Our public NuGet feed stopped showing up in projects for some reason, so annoying, and now it works fine again, thanks! – mikhail-t Feb 07 '13 at 19:37
  • 1
    Another person here that is grateful for you posting this @TimLong, thank you very much. – jamiet Mar 10 '15 at 12:04