commit e320dd018e9c9221607821b30fb747d1af91019c
parent b618f887a7f3799f17df1d5611fd30358d339a08
Author: srfsh <dev@srf.sh>
Date: Thu, 21 Jul 2022 20:06:58 +0300
vf/sw_pass/type: add auth_admin? meta
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/zenflows/sw_pass/type.ex b/src/zenflows/sw_pass/type.ex
@@ -35,6 +35,8 @@ end
object :mutation_sw_pass do
@desc "Import repositories from a softwarepassport instance."
field :import_repos, :string do
+ meta auth_admin?: true
+
@desc "The URL where all the repository information is listed."
arg :url, non_null(:string)
resolve &Resolv.import_repos/2