On Mon, Jul 11, 2011 at 9:23 PM, Peter Cowburn <petercowb...@gmail.com> wrote:
> On 11 July 2011 20:07, Stas Malyshev <smalys...@sugarcrm.com> 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.


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to