Docs / Sharing
Contractors
For tartan 0.9.36
An outside contractor runs their own Tartan organization.
tartannetworks.com/docs/contractors.mdAn outside contractor runs their own Tartan organization. You share the one resource they need with it, and nothing else of yours answers them.
The contractor never joins your organization. Their people, passkeys and devices stay in their own organization, and you hand them
a share you can end at any time. Below, your organization is acme and the contractor's organization is northgate.
1. The contractor stands up their own organization
The contractor signs up as the first Owner of their own organization (Create your org) and puts the agent on
the computers their people work from (Your first device). Their Admin then tags those devices, so
they can pick who uses your share. When it steps up, northgate's Admin's passkey approves it.
tartan group create --org northgate --name acme-job
tartan group add --org northgate --name acme-job --device <device id>
2. The contractor allows your organization
An organization takes offers only from organizations it allows. The contractor's Admin adds you;
northgate's Admin's passkey approves it.
tartan grant intake allow --org northgate --partner acme
In their console: Settings › Sharing intake › Allow an org.
3. You tag and place the resource
Tag the one computer the job needs, for example an RDP host, and move it to resource-external.
When it steps up, your passkey approves it.
tartan group create --org acme --name contractor-rdp
tartan group add --org acme --name contractor-rdp --device <device id>
tartan device set --org acme --device <device id> --zone resource-external
4. You offer it, with an end
Give the job an end date with --ttl (1 h to 30 d). The share then expires on its own. Your passkey
approves it.
tartan grant offer --org acme --grantee northgate --groups contractor-rdp --ports 3389/tcp --ttl 30d
In the console: Sharing › Offer access, Until 30 days.
5. The contractor accepts and picks their devices
The contractor's Admin accepts the offer; northgate's Admin's passkey approves it.
tartan grant pending --org northgate
tartan grant list --org northgate
tartan grant accept --org northgate --id <grant id> --groups acme-job
grant pending counts the offers waiting; grant list gives each one's id.
Only the contractor's devices with the acme-job tag reach your RDP host on port 3389. Their other devices, and
every other device and port of yours, stay closed.
6. End it when the job ends
Either side revokes it. It takes effect at once on the side that revokes, and the other organization is told. When it steps up, the revoking Admin's passkey approves it.
tartan grant revoke --org acme --id <grant id>
Check it worked
tartan grant list --org acmeshows the grant tonorthgateasactive, with its end.- From a contractor device with the
acme-jobtag, the RDP host answers on 3389 and nothing else of yours does.