From: <de...@de...> - 2011-09-21 01:27:58
|
Author: PeterThoeny Date: 2011-09-20 20:27:51 -0500 (Tue, 20 Sep 2011) New Revision: 22335 Trac url: http://develop.twiki.org/trac/changeset/22335 Modified: twiki/trunk/core/lib/TWiki/UI/Manage.pm Log: Item6811: Fix to check permissions in save access control settings (manage script) - fixing issue with previous checkin Modified: twiki/trunk/core/lib/TWiki/UI/Manage.pm =================================================================== --- twiki/trunk/core/lib/TWiki/UI/Manage.pm 2011-09-21 01:26:46 UTC (rev 22334) +++ twiki/trunk/core/lib/TWiki/UI/Manage.pm 2011-09-21 01:27:51 UTC (rev 22335) @@ -1490,7 +1490,7 @@ my $settings = $query->param( 'text' ); my $originalrev = $query->param( 'originalrev' ); - TWiki::UI::checkAccess( $session, $wev, $topic, 'CHANGE', $session->{user} ); + TWiki::UI::checkAccess( $session, $web, $topic, 'CHANGE', $session->{user} ); $newMeta->remove( 'PREFERENCE' ); # delete previous settings # Note: $TWiki::regex{setVarRegex} cannot be used as it requires use in code |