Newsgroups: php.internals,php.webmaster Path: news.php.net Xref: news.php.net php.internals:53889 php.webmaster:11586 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41924 invoked from network); 11 Jul 2011 20:04:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2011 20:04:43 -0000 Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:49798] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/06-30857-B575B1E4 for ; Mon, 11 Jul 2011 16:04:43 -0400 Received: by ywb6 with SMTP id 6so1629466ywb.29 for ; Mon, 11 Jul 2011 13:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=O6C4YdfMtVIj1A10sOYSUgpFb5Vu7NWZfThzsbJ1Y7Q=; b=ES3qAzqbDohM8ECTS1BVE/M09fx7nFi7fXBHWZhWRzx+X0twjbfo+wIkqgDs8kncd/ P6uwe87sxZ/MKUQLQazxqF+KwXweGBTnha37hqEJHbhwGsVAEtGo9zMdOATHbrStoDhH Elb1Ua7aLRAeTr/ZeYWOSB5sc5CKbKKVKN9Tg= MIME-Version: 1.0 Received: by 10.151.45.10 with SMTP id x10mr4388252ybj.170.1310414679402; Mon, 11 Jul 2011 13:04:39 -0700 (PDT) Received: by 10.147.35.14 with HTTP; Mon, 11 Jul 2011 13:04:39 -0700 (PDT) In-Reply-To: References: <4E1AB83A.6060801@sugarcrm.com> <52B477DE-081D-4ACD-9A14-29514EFFC85D@roshambo.org> <4E1B49F2.2020304@sugarcrm.com> Date: Mon, 11 Jul 2011 22:04:39 +0200 Message-ID: To: Ferenc Kovacs Cc: Peter Cowburn , Stas Malyshev , Philip Olson , Pierre Joye , php-webmaster , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] sudden spike in wiki registrations From: hannes.magnusson@gmail.com (Hannes Magnusson) On Mon, Jul 11, 2011 at 21:38, Ferenc Kovacs wrote: > On Mon, Jul 11, 2011 at 9:23 PM, Peter Cowburn wrote: >> On 11 July 2011 20:07, Stas Malyshev wrote: >>> Hi! >>> >>> On 7/11/11 11:24 AM, Hannes Magnusson wrote: >>>> >>>> The current vote still needs to be reviewed manually anyway, so I >>>> really don't understand the need for a quick hack at this time. >>>> Cooperating with the plugin authors on how to implement better checks >>>> there would imo make much more sense. >>> >>> Is there some API function that allows to see if given username does it have >>> SVN auth? If we have one, we could add check using it to render() maybe for >>> now. >> >> Yes, there's one at master.php.net/fetch/user.php that could be used >> if anyone knows the value of the token to pass along. >> > > the wiki does this already, this is why you can log in with your svn > credentials. > and when you log in with your svn credentials, the wiki will populate > your groups with phpcvs. > if you check my modifications, I added a check to the plugin to only > allow voting if one has either the phpcvs or voting or admin wiki > group. Stas means when we print who has voted, to only print votes by people in that group so you won't need to manually filter out not-allowed-to-vote votes. -Hannes