diff options
-rw-r--r-- | video.module | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video.module b/video.module index b69b20d..1fe2f30 100644 --- a/video.module +++ b/video.module @@ -327,6 +327,7 @@ function video_access($op, $node) { case 'create': return user_access('create video'); case 'update': + case 'delete': return user_access('edit own video') && ($user->uid == $node->uid); } } |