I've installed Visual Studio Team Foundation Server on our server and set it up to use users from the active directory. This way we can use domains users to access Team Foundation Server.
Now try this, create a new Team Project and add a domain user to it. Attach to the Team Project using the user you just added, you will find that you will not be able to access the documents untill the admin adds this user to the project's Sharepoint site.
This is so annoying because whenever you create a team project, you have to go and add the users to Sharepoint site. One way to simplify this process is to add the users to a group and add this group to Sharepoint.
I've found out that some one has already reported this is a bug. Go vote for it
here.