From 795f17ffec8ac34bb7413e421c32b5faa19d67d4 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Sat, 11 Feb 2006 17:54:33 +0000 Subject: [PATCH] backing out fix. --- lib/WebGUI/Asset.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm index 9e1c7cff4..67c364e82 100644 --- a/lib/WebGUI/Asset.pm +++ b/lib/WebGUI/Asset.pm @@ -102,7 +102,6 @@ Unique hash identifier for a user. If not supplied, current user. sub canEdit { my $self = shift; my $userId = shift || $self->session->user->userId; - return 0 if ($self->isLocked && !$self->canEditIfLocked); if ($userId eq $self->get("ownerUserId")) { return 1; }