Newsgroups: php.internals,php.webmaster Path: news.php.net Xref: news.php.net php.internals:53866 php.webmaster:11561 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52656 invoked from network); 11 Jul 2011 10:48:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2011 10:48:41 -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.161.170 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.161.170 mail-gx0-f170.google.com Received: from [209.85.161.170] ([209.85.161.170:52542] helo=mail-gx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/E0-47764-805DA1E4 for ; Mon, 11 Jul 2011 06:48:40 -0400 Received: by gxk27 with SMTP id 27so1630541gxk.29 for ; Mon, 11 Jul 2011 03:48:37 -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=bT66jZNhWw0Tpo4y3DYN3M6Y4BP3mhAStHS9U9Y3oVM=; b=soIieh8/iE2DTwo6Dx7OdiwaAfrc0u6dGIBIquGr/ocOlqBasM+WMGO7yGA6+6Ffi2 9tTeJyDP26JmyCRJ+LXfKkvYmml2hQCUsGwxMh1RVsPICGRb1uywTRa8hmO3slGBjhuf N0BTbdDuTXTuSxHOJbKZgrc1wx740NkZFlDEA= MIME-Version: 1.0 Received: by 10.147.2.32 with SMTP id e32mr3691920yai.23.1310381316163; Mon, 11 Jul 2011 03:48:36 -0700 (PDT) Received: by 10.147.38.17 with HTTP; Mon, 11 Jul 2011 03:48:36 -0700 (PDT) In-Reply-To: References: <4E1AB83A.6060801@sugarcrm.com> Date: Mon, 11 Jul 2011 12:48:36 +0200 Message-ID: To: Hannes Magnusson Cc: Pierre Joye , Stas Malyshev , 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 12:18 PM, Ferenc Kovacs wrote: > On Mon, Jul 11, 2011 at 12:07 PM, Hannes Magnusson > wrote: >> On Mon, Jul 11, 2011 at 12:03, Hannes Magnusson >> wrote: >>> It is very hard to detect which "php group" a person belongs to, our >>> karma system doesn't work like that. >>> >>> We can easily detect if an account is an php.net SVN account though. >>> And the wiki can tell you if a person has write access to that specific= page. >>> >>> Most external users have assigned "write" groups, "qa", "rfc", "web". >>> These are the people who have requested access to these areas. >>> >>> I was under the impression the vote plugin respected the write >>> permission acl to that page, so a user would need to have write karma >>> to that namespace to be able to vote. >>> Does it have no builtin functionality like that? >> >> Answering my own question; No, it doesn't. >> http://www.dokuwiki.org/plugin:doodle2#authentication >> >> -Hannes >> > > I checked the source, if the permissions are set correctly, then the > required code change is minimal: > in the php-wiki/dokuwiki/lib/plugins/doodle/syntax.php file we have to > modify the render and castVote methods to check > $this->isAllowedToEditEntry($fullname) and thats it. > > > -- > Ferenc Kov=C3=A1cs > @Tyr43l - http://tyrael.hu > of course the explicit group checking would be better, because currently we have votes under rfc namespace where some users have write access as they proposed/wanted to propose some rfc but they shouldn't . --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu