Commit 5a3bda13 authored by Mayra Cabrera's avatar Mayra Cabrera

Fixes resolution for environment entity

parent e16fec65
......@@ -47,13 +47,10 @@ class EnvironmentEntity < Grape::Entity
request.current_user
end
<<<<<<< HEAD
def can_read_deploy_board?
can?(current_user, :read_deploy_board, environment.project)
end
=======
>>>>>>> upstream/master
def can_access_terminal?
can?(request.current_user, :create_environment_terminal, environment)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment