[vhffs-dev] [920] Moderators now have right to see services.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 920
Author:   beuss
Date:     2007-09-13 05:33:59 +0000 (Thu, 13 Sep 2007)

Log Message:
-----------
Moderators now have right to see services.

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/User.pm


Modified: trunk/vhffs-api/src/Vhffs/User.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/User.pm	2007-09-12 18:46:45 UTC (rev 919)
+++ trunk/vhffs-api/src/Vhffs/User.pm	2007-09-13 05:33:59 UTC (rev 920)
@@ -763,7 +763,7 @@
 {
     my ($self, $o) = @_;
     return (Vhffs::Acl::what_perm_for_user( $self, $o, $self->get_main) >= Vhffs::Constants::ACL_VIEW
-        || $self->is_admin );
+        || $self->is_admin || $self->is_moderator );
 }
 
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/