I’ve got a site which I created in Rails 3.0 with devise & cancan installed. This application holds a list of just over 4000 people in which members can view. Very few of the people in the database are members.
Is there a way to allow the 4000 people access to update only their profile without having to make them a user?
My current thinking is that I will have three roles (admin, member and updater). The updater role will only have access to their profile and that’s it. I will restrict this using cancan.
Is this the best way to do this?
I could randomly generate a password and email out a link to edit their profile in an email, when they click on it my program could ask for their login details and away they go. I was just thinking if their was a better way of doing this without the need to generate so many users.
Add a column to your profile model with a randomly generated password, then have a link to edit the profile email that password to the email address on file to edit.