[ZendTo] Re: Anyone tried 4.10 yet?

Jules Jules at Zend.To
Mon May 28 12:02:01 BST 2012


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> wrote:
> Has anyone tried 4.10 yet? Is it working well for you?
>
> 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
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20120528/1f45d6b0/attachment.html 


More information about the ZendTo mailing list