diff options
Diffstat (limited to 'app/models/clusters/agents/implicit_authorization.rb')
-rw-r--r-- | app/models/clusters/agents/implicit_authorization.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/clusters/agents/implicit_authorization.rb b/app/models/clusters/agents/implicit_authorization.rb index 967cc686045..9f7f653ed65 100644 --- a/app/models/clusters/agents/implicit_authorization.rb +++ b/app/models/clusters/agents/implicit_authorization.rb @@ -6,12 +6,15 @@ module Clusters attr_reader :agent delegate :id, to: :agent, prefix: true - delegate :project, to: :agent def initialize(agent:) @agent = agent end + def config_project + agent.project + end + def config nil end |