-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure Users are associated with the package they upload #6
Comments
And vice versa, the set of owners for a given package. |
Right now, users are added to the Owners collection of a PackageRegistration. There isn't ownership at the actual package level. I expect you can easily query off of the parent registration, though: packageRepo.GetAll()
.Include(p => p.PackageRegistration)
.Include(p => p.PackageRegistration.Owners)
.Where(p => p.PackageRegistration.Owners.Contains(theUser)) |
Excellent! So looking at a given package, that should get me the info I need. :) |
@haacked, you should be able to do all that you need with the existing entities and relationships. Please re-open if you find you need something. |
# This is the 1st commit message: update markdig to 0.22.0 # The commit message #2 will be skipped: # updated markdig.signed.dll in third party props # The commit message #3 will be skipped: # test with newversion package with updated markdig version # The commit message #4 will be skipped: # version test # The commit message #5 will be skipped: # update the version of nuget.services # The commit message #6 will be skipped: # a # The commit message #7 will be skipped: # migrate to markdig # The commit message #8 will be skipped: # rm legacy to test markdown with markdig # The commit message #9 will be skipped: # update function
I need to be able to query the set of packages that a user owns.
The text was updated successfully, but these errors were encountered: