[drupal-devel] [bug] QUICKFIX: utilize stat access right when
	printing view count
    Goba 
    drupal-devel at drupal.org
       
    Fri Jan 21 16:42:53 UTC 2005
    
    
  
 Project:      Drupal
 Version:      cvs
 Component:    statistics.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Goba
 Reported by:  Goba
 Updated by:   Goba
 Status:       patch
 Attachment:   http://drupal.org/files/issues/Drupal-utilize-stat-access-right.patch (724 bytes)
The stat counter display used to be restricted both by the
statistics_display_counter global setting, and the current users access
right to statistics. Since this access right is kept in the HEAD version
of the module, I doubt it was not intended to only print out the view
number to those with proper access rights. This simple patch adds the
proper check.
Goba
-- 
View: http://drupal.org/node/15963
Edit: http://drupal.org/project/comments/add/15963
    
    
More information about the drupal-devel
mailing list