Skip to content

Commit

Permalink
Item1484: port WebPermissionsPlugin
Browse files Browse the repository at this point in the history
Typo on line 402: Should be comma, not period
Extraneous $antiBeforeSaveRecursion = 0; line 415


git-svn-id: http://svn.foswiki.org/trunk/WebPermissionsPlugin@7696 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
AaronScamehorn authored and AaronScamehorn committed Jun 8, 2010
1 parent 3bc75b8 commit 3291043
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Foswiki/Plugins/WebPermissionsPlugin/Core.pm
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ sub beforeSaveHandler {
# SMELL: canceling out from, or just stopping a save seems
# to be quite difficult
Foswiki::Func::redirectCgiQuery( $query,
&Foswiki::Func::getScriptUrl( $web, $topic . 'view' ) );
&Foswiki::Func::getScriptUrl( $web, $topic , 'view' ) );
throw Error::Simple('cancel permissions action');
}

Expand All @@ -412,8 +412,6 @@ sub beforeSaveHandler {
my @topicViewers = $query->param('topicviewers');
my @disallowedUsers = $query->param('disallowedusers');

$antiBeforeSaveRecursion = 0;

if ( ( @topicEditors || @topicViewers || @disallowedUsers ) ) {

#TODO: change this to get modes from params
Expand Down

0 comments on commit 3291043

Please sign in to comment.