Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Relationship between users and roles #12

Open
stvnrlly opened this issue Jun 24, 2016 · 2 comments
Open

Relationship between users and roles #12

stvnrlly opened this issue Jun 24, 2016 · 2 comments

Comments

@stvnrlly
Copy link
Member

In #10, we made users a foreign key on roles, but that doesn't feel quite right. Users and roles are separate, and should be combined inside of the acquisition. For example, one user may be the product lead on one project and a tech lead on another, but having an entry for every possibility feels a little heavy. This might involve customizing the User model.

@vdavez
Copy link

vdavez commented Jun 25, 2016

Are you saying that the Role class should include "Product Lead" and "Acquisitions Lead", and that there should be a separate class that combines the Role with the User?

@stvnrlly
Copy link
Member Author

Yeah, I think that's it. Customizing the User model is probably not a good idea.

However, I think I was also imagining the roles as something wider, which I'm not sure is necessary. What's in there now should work well, so I think this issue should just be a prompt to think about this once we've used the tool a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants