ruby on rails - What would be a good way to separate different types of user account? -
supposing various type of users, 'normal', 'medium' , 'premium' each 1 different permissions.
a kind of permission on permission.
for example:
- only registered users can post
- a normal user can post 1 post per month
- a medium user can post 5 posts per month
- a premium user can post unlimited posts per month
and other attributes.
what suggest?
i suggest @ can can.
Comments
Post a Comment