ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

[livejournal] r16213: LJSV-140: banned users can't delete comm...

Committer: ssafronova
LJSV-140: banned users can't delete community entries they posted
U   trunk/cgi-bin/ljprotocol.pl
Modified: trunk/cgi-bin/ljprotocol.pl
===================================================================
--- trunk/cgi-bin/ljprotocol.pl	2010-02-05 10:09:52 UTC (rev 16212)
+++ trunk/cgi-bin/ljprotocol.pl	2010-02-05 10:39:54 UTC (rev 16213)
@@ -2113,6 +2113,8 @@
 {
     my ($req, $err, $flags) = @_;
     return undef unless authenticate($req, $err, $flags);
+
+    $flags->{'ignorecanuse'} = 1; # later we will check security levels, so allow some access to communities
     return undef unless check_altusage($req, $err, $flags);
 
     my $u = $flags->{'u'};

Tags: livejournal, pl, ssafronova
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments