[ZendTo] Re: Anyone tried 4.10 yet?

Jules Jules at Zend.To
Tue May 29 11:05:53 BST 2012


I have just released a new build 4.10-5 which includes the "admins can't 
view stats" fix.

Available on the apt and yum repositories, or else download it from
         http://zend.to
as usual.

Cheers,
Jules.

On 29/05/2012 09:28, Jules wrote:
> No, that code appears twice in that file. Make sure the line is there 
> in *both* places.
>
> Jules.
>
> On 28/05/2012 21:12, Marlon R Deerr wrote:
>>
>>
>>           Interesting...when I checked my 4.10 install, it already
>>           had $response['grantStatsPriv'] = TRUE; there. There was no
>>           need for me to add it in but I also am having this exact
>>           same issue. When I try to access System Statistics, I get
>>           an Access Denied saying that "This feature is only
>>           accessible by administrators who have logged-in to the
>>           system". I know for sure that my user account is a member
>>           of "authAdmins". That message will only go away if I also
>>           add myself as as "authStats" user.
>>
>>
>> *From:*zendto-bounces at zend.to [mailto:zendto-bounces at zend.to] *On 
>> Behalf Of *Jules
>> *Sent:* May-28-12 7:02 AM
>> *To:* ZendTo Users
>> *Subject:* [ZendTo] Re: Anyone tried 4.10 yet?
>>
>> Sorry about that!
>> It's quick to fix if you want to.
>>
>> Edit /opt/zendto/lib/NSSAuthenticator.php and around line 150 you 
>> will find a section of code that looks like this:
>>   public function authenticate(
>>     $uname,
>>     $password,
>> &$response
>>   )
>>   {
>>     if ( $response && $this->isAdmin($uname) ) {
>>       $response['grantAdminPriv'] = TRUE;
>>     }
>>     if ( $response && $this->isStats($uname) ) {
>>       $response['grantStatsPriv'] = TRUE;
>>     }
>> Add this line immediately after the line in the middle that mentions 
>> 'grantAdminPriv':
>>       $response['grantStatsPriv'] = TRUE;
>>
>> Then it will work.
>>
>> Jules.
>>
>> On 25/05/2012 17:57, Brad Beckenhauer wrote:
>>
>> I just updated.
>>
>> At the moment I can only see one issue.
>>
>> My user account is in the preferences.conf  authAdmins.  I can see 
>> the System Stats button, but I when I attempt to access the Stats 
>> page as an Admin, I get an 'Access Denied" message.
>>
>> If I add myself as an  'authStats' user ( in addition to being an 
>> authAdmin user), then I can see the Stats page.
>>
>> Please Allow authAdmins to see the stats page without having to add 
>> them as authStats users.
>>
>> thanks!!!
>>
>> Brad
>>
>>
>>
>> >>> On 5/25/2012 at 6:34 AM, Jules <Jules at zend.to> 
>> <mailto:Jules at zend.to> wrote:
>>
>> Has anyone tried 4.10 yet? Is it working well for you?
>>
>> Jules
>>
>> -- 
>> Julian Field MEng CITP CEng
>> www.Zend.To <http://www.Zend.To>
>>
>> Follow me at twitter.com/JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>> 'It's okay to live without all the answers' - Charlie Eppes, 2011
>> 'All programs have a desire to be useful' - Tron, 1982
>> 'That is the land of lost content,
>>   I see it shining plain,
>>   The happy highways where I went,
>>   And cannot come again.' - A.E. Houseman
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to <mailto:ZendTo at zend.to>
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>>
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to  <mailto:ZendTo at zend.to>
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>>
>>
>>
>> Jules
>>   
>> -- 
>> Julian Field MEng CITP CEng
>> www.Zend.To  <http://www.Zend.To>
>>   
>> Follow me at twitter.com/JulesFM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>   
>> 'It's okay to live without all the answers' - Charlie Eppes, 2011
>> 'All programs have a desire to be useful' - Tron, 1982
>> 'That is the land of lost content,
>>   I see it shining plain,
>>   The happy highways where I went,
>>   And cannot come again.' - A.E. Houseman
>>
>>
>> _______________________________________________
>> ZendTo mailing list
>> ZendTo at zend.to
>> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
> Jules
>
> -- 
> Julian Field MEng CITP CEng
> www.Zend.To
>
> Follow me at twitter.com/JulesFM
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> 'It's okay to live without all the answers' - Charlie Eppes, 2011
> 'All programs have a desire to be useful' - Tron, 1982
> 'That is the land of lost content,
>   I see it shining plain,
>   The happy highways where I went,
>   And cannot come again.' - A.E. Houseman

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20120529/4121c09d/attachment.html 


More information about the ZendTo mailing list