Index: program/station_program.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/station/program/station_program.module,v
retrieving revision 1.5
diff -u -r1.5 station_program.module
--- program/station_program.module	9 Feb 2007 17:13:33 -0000	1.5
+++ program/station_program.module	29 Mar 2007 16:13:35 -0000
@@ -76,8 +76,9 @@
     case 'update':
       // TODO: figure out how to allow the schedule's decide who can edit...
       $djs = _station_schedule_program_load_djs($node->nid);
-      // if they're a DJ, check they should be able to do it.
-      if (isset($djs[$user->uid])) {
+
+      // Node owner and DJs can edit the program.
+      if ($node->uid == $user->uid || isset($djs[$user->uid])) {
         return user_access('edit own program');
       }
       break;

