A recording of a workshop I gave.
Different approaches to setting user roles
Topics covered:
- post.user_id
- admin:boolean
- roles:integer enum
- roles json hash
- rolify
- rolify - resourcify Posts
Git repo: https://github.com/corsego/62-workshop-user-roles
Resources:
- roles json hash: https://blog.corsego.com/user-roles-one-field
- rolify 1: https://blog.corsego.com/rolify-edit-roles
- rolify 2: https://blog.corsego.com/rolify-scopes
0