diff --git a/app/views/my_projects_overviews/blocks/_members.html.erb b/app/views/my_projects_overviews/blocks/_members.html.erb index 4f5a6cb898..f5146eaa7a 100644 --- a/app/views/my_projects_overviews/blocks/_members.html.erb +++ b/app/views/my_projects_overviews/blocks/_members.html.erb @@ -45,7 +45,7 @@ See doc/COPYRIGHT.md for more details.

<% end %> -<% if current_user.admin? %> +<% if current_user.allowed_to?(:manage_members, project) %> <%= link_to project_members_path(project_id: project.identifier), class: 'button -alt-highlight' do %> <%= t('activerecord.models.member') %>