File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,50 @@ destination="/home/nonroot"
121
121
122
122
</details >
123
123
124
+ ## Permissions
125
+
126
+ By default, users own the links they create and only they can update or delete those links.
127
+ Ownership can be transferred to another user from the link edit page.
128
+ Links whose owner is no longer part of the tailnet can be edited by any user,
129
+ at which point that user will become the new owner.
130
+
131
+ Users can be granted admin access to edit all links using [ ACL grants] in your tailnet policy file.
132
+ For example, if you have your golink instance tagged with ` tag:golink ` and a user group named ` group:golink-admins ` ,
133
+ you can grant them admin access using:
134
+
135
+ ``` json
136
+ {
137
+ "grants" : [{
138
+ "src" : [" group:golink-admins" ],
139
+ "dst" : [" tag:golink" ],
140
+ "app" : {
141
+ "tailscale.com/cap/golink" : [{
142
+ "admin" : true
143
+ }]
144
+ }
145
+ }]
146
+ }
147
+ ```
148
+
149
+ Or if you want to effectively disable the ownership model and allow everyone in your tailnet to edit all links,
150
+ you could assign the grant to ` autogroup:member ` :
151
+
152
+ ``` json
153
+ {
154
+ "grants" : [{
155
+ "src" : [" autogroup:member" ],
156
+ "dst" : [" tag:golink" ],
157
+ "app" : {
158
+ "tailscale.com/cap/golink" : [{
159
+ "admin" : true
160
+ }]
161
+ }
162
+ }]
163
+ }
164
+ ```
165
+
166
+ [ ACL grants ] : https://tailscale.com/kb/1324/acl-grants
167
+
124
168
## Backups
125
169
126
170
Once you have golink running, you can backup all of your links in [ JSON lines] format from < http://go/.export > .
You can’t perform that action at this time.
0 commit comments