sumeetjain / outcomes-tracker

0 stars 0 forks source link

25 add enums to permissions #86

Closed halfghaninne closed 8 years ago

halfghaninne commented 8 years ago

Fixes #25


Login Credentials

Your GH account

You should be an "admin user" to walk through this process (ie User#has_edit_permissions => true and User#has_view_permissions => true)


Functionality to Test

halfghaninne commented 8 years ago

I added methods in the User model for adding and removing permissions. I'm interested in hearing if these solutions are less-than-ideal and if so, how to make them more efficient.

sumeetjain commented 8 years ago

halfghaninne commented 8 years ago

Oh. I didn't realize I could go back and edit a migration file. I thought that was frowned upon.