ywwg / ffagc

Firefly Art Grant Core Website
0 stars 1 forks source link

Unify `Artist`, `Admin`, and `Voter` models #63

Open Katee opened 7 years ago

Katee commented 7 years ago

Use a roles framework such as https://github.com/ryanb/cancan to set (possibly mutually exclusive) role(s) for a user. This will make https://github.com/ywwg/ffagc/issues/62 easier.

Katee commented 7 years ago

CanCan is defunct. CanCanCan allows for fine grained control of abilities.

Katee commented 7 years ago

A first pass might be a simple roles array on User.