add download sets and regroup access granting parts

This commit is contained in:
Mikaël Cluseau
2026-06-17 14:02:25 +02:00
parent 6b34628bea
commit 99592d6efb
11 changed files with 415 additions and 230 deletions
+22
View File
@@ -0,0 +1,22 @@
const Cluster = {
components: { ClusterAccess, ClusterCAs, Downloads, GetCopy },
props: [ 'cluster', 'token', 'state' ],
template: `
<ClusterAccess :cluster="cluster" :token="token" :state="state" />
<h3>Tokens</h3>
<section class="links">
<GetCopy v-for="n in cluster.Tokens" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/tokens/'+n" />
</section>
<h3>Passwords</h3>
<section class="links">
<GetCopy v-for="n in cluster.Passwords" :token="token" :name="n" :href="'/clusters/'+cluster.Name+'/passwords/'+n" />
</section>
<h3>Downloads</h3>
<Downloads :token="token" :state="state" kind="cluster" :name="cluster.Name" />
<ClusterCAs :cluster="cluster" :token="token" />
`
}