0 =>/account/repo/{{.Repo}} Go back
1
2 # {{ .Repo }}
3
4 =>/account/repo/{{.Repo}}/access/add Add user
5 =>/account/repo/{{.Repo}}/access/addg Add group
6
7 ## Collaborators
8
9 {{ range .Collaborators -}}
10 * {{ .Name }} - Privilege : {{.Privilege | AccessPrivilege}}
11 {{if $.Owner -}}
12 =>/account/repo/{{$.Repo}}/access/{{.Name}}/first {{.Privilege | AccessFirst}}
13 =>/account/repo/{{$.Repo}}/access/{{.Name}}/second {{.Privilege | AccessSecond}}
14 =>/account/repo/{{$.Repo}}/access/{{.Name}}/kick Remove
15
16 {{end -}}
17 {{end -}}
18
19 ## Groups
20
21 {{ range .Groups -}}
22 * {{ .Name }} - Privilege : {{.Privilege | AccessPrivilege}}
23 {{if $.Owner -}}
24 =>/account/repo/{{$.Repo}}/access/{{.Name}}/g/first {{.Privilege | AccessFirst}}
25 =>/account/repo/{{$.Repo}}/access/{{.Name}}/g/second {{.Privilege | AccessSecond}}
26 =>/account/repo/{{$.Repo}}/access/{{.Name}}/g/kick Remove
27
28 {{end -}}
29 {{end -}}
30