Newsgroups: php.internals,php.webmaster Path: news.php.net Xref: news.php.net php.internals:53888 php.webmaster:11585 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37754 invoked from network); 11 Jul 2011 19:38:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2011 19:38:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:56800] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FE/65-30857-A415B1E4 for ; Mon, 11 Jul 2011 15:38:50 -0400 Received: by yxk8 with SMTP id 8so1880126yxk.29 for ; Mon, 11 Jul 2011 12:38:48 -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:content-transfer-encoding; bh=ZREH81tjIdaB77sW+SAYhXECPxofketqE8LOKqLJXJM=; b=kv7+FNbAl8beBTKhOD+fhEBat53h5cJsd6D6x5DzX3RItOliFGRmFVqDyHp/2KcUN0 bO+2+omv02Bsi23tZwfDIvdqt3knoay5XNTPLKqLGKsHl2erYNB2QIgIjdw5kf/XwvdQ 9z2fqrbp7C3OXj/P7P/0JrztQL9kMn2Q8DM5k= MIME-Version: 1.0 Received: by 10.151.45.1 with SMTP id x1mr4623542ybj.309.1310413126922; Mon, 11 Jul 2011 12:38:46 -0700 (PDT) Received: by 10.147.38.17 with HTTP; Mon, 11 Jul 2011 12:38:46 -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 21:38:46 +0200 Message-ID: To: Peter Cowburn Cc: Stas Malyshev , Hannes Magnusson , Philip Olson , Pierre Joye , php-webmaster , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] sudden spike in wiki registrations From: tyra3l@gmail.com (Ferenc Kovacs) On Mon, Jul 11, 2011 at 9:23 PM, Peter Cowburn wro= te: > 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. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu