Invite people to your workspace or project#
You can invite people to your workspace and then assign them to your projects.
To manage people while in a project, click the avatar icons in the top right.
Inviting to workspace#
You can invite people or create service accounts through the workspace menu.
- In the top-left corner, click the workspace name to expand the menu.
- Select People.
Neptune can find any registered user based on their email or username. You can grant invitees access to all workspace projects at once, or grant access per project.
To grant access to a specific project, head to that project's settings (see the section below).
Inviting to workspace programmatically#
You can use the invite_to_workspace()
function to invite users to your workspace via the Neptune API.
>>> from neptune import management
>>> management.invite_to_workspace(
... username="jackie",
... workspace="ml-team",
... role="admin",
... )
Inviting to project#
You can assign people or service accounts through the project settings ( ).
Only project owners can assign users to the project.
Note on plans
If your plan doesn't include project-level access control, you can only have projects that are available to all workspace members or fully public.
Assigning service accounts#
Once you've created a service account in your workspace settings, you can add it to one or more projects.
For details, see Service accounts.
Inviting to project programmatically#
You can assign users or service accounts to your project with the following functions from the management
API:
>>> from neptune import management
>>> management.add_project_member(
... project="ml-team/classification", username="jackie", role="contributor"
... )
>>> from neptune import management
>>> management.add_project_service_account(
... project="ml-team/classification",
... service_account_name="cicd@ml-team",
... role="contributor",
... )
Related
- Learn more about roles and permissions: User roles overview
- Restrict or revoke access
- Service accounts
- Self-hosted ≫ Adding users