match4everyone / match4everything

Other
7 stars 0 forks source link

Alternate implementation of #175 #200

Closed bjrne closed 4 years ago

bjrne commented 4 years ago

This is an alternative to #175, which has all the logic moved to user creation, thus only needing two built-in django permissions which can easily be checked for.

Given that the profile_view-view is probably the only time this is used and we have to implement the logic in dispatch for #120, I think not going with decorators here is a fine solution.

feeds commented 4 years ago

Later on we have the table where we record matches. In this cases participants should also be able to view each other. So theres more logic needed then, but I guess thats another PR?

Baschdl commented 4 years ago

@feeds A participant can see in this table who else also matched with a hospital? I don't think I understand it