Skip to content

Commit

Permalink
Item8575: Exit if in readonly context
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/EditChapterPlugin@6479 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Feb 22, 2010
1 parent ffc57e5 commit cc747fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Foswiki/Plugins/EditChapterPlugin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sub commonTagsHandler {

my $context = Foswiki::Func::getContext();
return unless $context->{'view'};
return if $context->{'readonly'};
return unless $context->{'authenticated'};

my $query = Foswiki::Func::getCgiQuery();
Expand Down

0 comments on commit cc747fe

Please sign in to comment.