Skip to content
Snippets Groups Projects
Verified Commit 3540b478 authored by Alexander Olofsson's avatar Alexander Olofsson
Browse files

Allow public access to managed password list

parent bdb4ca81
No related branches found
No related tags found
No related merge requests found
Pipeline #120193 passed
......@@ -48,6 +48,13 @@ module Orchestration
end
end
def passwordstate_passwords
passwordstate_password_list(_bare: true)
.passwords
.search(description: stable_pw_desc, exclude_password: true)
.select { |e| e.description.ends_with? stable_pw_desc }
end
private
def stable_pw_desc
......@@ -73,13 +80,6 @@ module Orchestration
end
end
def passwordstate_passwords
passwordstate_password_list(_bare: true)
.passwords
.search(description: stable_pw_desc, exclude_password: true)
.select { |e| e.description.ends_with? stable_pw_desc }
end
def passwordstate_facet_empty?
return false if passwordstate_facet&.passwordstate_server_id
return false if passwordstate_facet&.password_list_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment