Share a project
Copy page
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.
Share with a person
Section titled “Share with a person”To share a project with someone, run grayspar access add with their email address:
grayspar access add alice@example.comGrayspar 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:
grayspar access add alice@example.com bob@example.comShare with a company
Section titled “Share with a company”To let in everyone who logs in with an address at a company, add the company’s domain with an @ in front:
grayspar access add @northfold.exampleGrayspar 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.
Share with anyone who has the link
Section titled “Share with anyone who has the link”To let every visitor in without logging in, set the project’s general access to open:
grayspar access set --mode open✓ Set access of <project-name> to openAnyone 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:
grayspar access set --mode restrictedSee who can open a project
Section titled “See who can open a project”To see the list and whether each person has opened the project, run grayspar access:
Only the team and the people and companies on its list can open <project-name>.
PERSON OR COMPANY STATUSalice@example.com opened itbob@example.com not opened yet@northfold.example anyone at this companyRemove access
Section titled “Remove access”To remove a person or a company from the list, run grayspar access remove with the same address or domain:
grayspar access remove bob@example.comGrayspar checks the list on every request, so Bob’s next request is turned away.
Choose the project
Section titled “Choose the project”These commands act on the project your folder is linked to. To act on another project, name it with --project:
grayspar access add alice@example.com --project <project-name>