Displaying 1 result from an estimated 1 matches for "verify_permissions".
Did you mean:
verify_permission
2006 Feb 21
5
Abstracting ownership verification out of Controller
Right now I have a controller for "events" that belong to a specific
user. I only want the creator to be able to edit or delete the event.
I''ve got the proper foreign keys set up.
I''ve finally arrived at the point where I can take baby steps with
code, but looks like my first steps are in flagrant violation of the
DRY principle.
Here''s what I have so far in