I've been thinking about how to gracefully handle changes in event ownership for the cat herder, and have a model I'd like to propose.
First, here are the situations in which I see an event's owner changing: 1. The event owner chooses to give up ownership, at which point they may or may not have a volunteer ready to take over 2. A member chooses to delete their account, in which case any pending events they own should be transferred to other members The simplest way I see to handle both of these cases is to allow the member_id to be null, and to treat all such events as "unclaimed," and render and handle them as such. It would affect several areas of the site: /events/list: add a visual highlight to mark events as unclaimed, and a 'claim' item to the action links to allow users to assume ownership. /events/show/<ID>: if the logged-in user is the owner, add a 'give up ownership' link; otherwise, if the event is unclaimed, add a 'claim' action link Also, this would make adding a 'delete member' feature much more straightforward, as their events could just have their member_id fields set to null, and would then appear as unclaimed. Thoughts? Counter-proposals? -- Lennon rcoder.net _______________________________________________ PdxRuby-dev mailing list [email protected] http://lists.pdxruby.org/mailman/listinfo/pdxruby-dev
