diff --git a/app/models/project.rb b/app/models/project.rb
index 262ca9f5f5cd8fe984717c61a39294482c81dcf3..176c731f9844587f4e0e7c690d5d2c18f181e196 100644
--- a/app/models/project.rb
+++ b/app/models/project.rb
@@ -73,6 +73,7 @@ class Project < ActiveRecord::Base
   scope :public_only, where(private_flag: false)
   scope :without_user, ->(user)  { where("id NOT IN (:ids)", ids: user.projects.map(&:id) ) }
   scope :not_in_group, ->(group) { where("id NOT IN (:ids)", ids: group.project_ids ) }
+  scope :authorized_for, ->(user) { joins(:users_projects) { where(user_id: user.id) } }
 
   class << self
     def active
diff --git a/app/views/dashboard/_groups.html.haml b/app/views/dashboard/_groups.html.haml
index a15396aaf03a0924cab7c4879950ceaa536531b1..8f66742098a166168b3f51c9ee638cdb0921c323 100644
--- a/app/views/dashboard/_groups.html.haml
+++ b/app/views/dashboard/_groups.html.haml
@@ -17,4 +17,4 @@
             &rarr;
           %span.last_activity
             %strong Projects:
-            %span= group.projects.count
+            %span= group.projects.authorized_for(current_user).count