diff --git a/app/permissions/project.rb b/app/permissions/project.rb index 4e01de624..03f555283 100644 --- a/app/permissions/project.rb +++ b/app/permissions/project.rb @@ -20,7 +20,8 @@ Canaid::Permissions.register_for(Project) do export_project) .each do |perm| can perm do |user, project| - project.permission_granted?(user, ProjectPermissions::READ) + project.permission_granted?(user, ProjectPermissions::READ) || + project.team.permission_granted?(user, TeamPermissions::MANAGE) end end