quorumcontrol / dgit

dgit adds decentralized ownership to git - powered by Tupelo DLT and Skynet
https://dgit.dev/
MIT License
207 stars 16 forks source link

Grafted ownership for managing repos (and default team) #75

Closed brandonwestcott closed 4 years ago

brandonwestcott commented 4 years ago

I could keep going and going on this, but stopping here as its good for this first release. This does two things:

If you dig into that thought a bit more, that means a User is granted access to a Team through grafting, and a Team is granted access to a Repo through grafting, therefore granting the User access to the Repo.

One open question: should a user be able to be added to a team before their dgit username exists?

Also to note I did a slight bit of refactoring around the different tree types here -- I've got a few more things I would like to do on the repo / client front too, but I stopped myself as that belongs in a PR.