Skip to content
Dashboard

Share a project

Copy page
View as Markdown

Projects are private by default, so only your team can open a new project. To let other people in, add them to the project’s list from the CLI or from the project’s People page in the dashboard.

To share a project with someone, run grayspar access add with their email address:

Terminal window
grayspar access add alice@example.com

Grayspar sends Alice an email with a link to the project. Alice opens the link and logs in with Google, GitHub or a code sent to that address. The project also appears under Shared with you on Alice’s dashboard, so Alice can find it again without the email.

Alice needs no plan and no password. Her email address is her account, so she has to log in with the address you added. Logging in with another address shows a page saying the project isn’t shared with that address, with a way to switch accounts.

To add several people at once, list their addresses:

Terminal window
grayspar access add alice@example.com bob@example.com

To let in everyone who logs in with an address at a company, add the company’s domain with an @ in front:

Terminal window
grayspar access add @northfold.example

Grayspar sends no email for a company, so send the link to the people there yourself. A company can be your own or a client’s, and a project can list several.

Only an owner of the team can add a company. Grayspar refuses public mail providers such as gmail.com, because anyone can get an address there. A person at one of those providers can still be added by their own address.

To let every visitor in without logging in, set the project’s general access to open:

Terminal window
grayspar access set --mode open
Terminal window
✓ Set access of <project-name> to open
Anyone with the link can open <project-name>, without logging in.

Only an owner of the team can open a project this way. Choose it for an app meant for the public, or for an app with a login of its own. Grayspar asks search engines to leave the project out of their results.

Requests to an open project carry no identity headers, because nobody logged in. The list keeps its entries while the project is open. To use the list again, run:

Terminal window
grayspar access set --mode restricted

To see the list and whether each person has opened the project, run grayspar access:

Terminal window
Only the team and the people and companies on its list can open <project-name>.
PERSON OR COMPANY STATUS
alice@example.com opened it
bob@example.com not opened yet
@northfold.example anyone at this company

To remove a person or a company from the list, run grayspar access remove with the same address or domain:

Terminal window
grayspar access remove bob@example.com

Grayspar checks the list on every request, so Bob’s next request is turned away.

These commands act on the project your folder is linked to. To act on another project, name it with --project:

Terminal window
grayspar access add alice@example.com --project <project-name>