Skip to content

Commit 0c96ab8

Browse files
authored
Merge pull request #7212 from readthedocs/humitos/docs-for-sso
Documentation for Sigle Sign-On feature on commercial
2 parents 571049c + 87200d0 commit 0c96ab8

File tree

3 files changed

+97
-2
lines changed

3 files changed

+97
-2
lines changed

docs/commercial/index.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ Advertising-free
2929
.. _readthedocs.org: https://readthedocs.org
3030
.. _readthedocs.com: https://readthedocs.com
3131

32-
.. toctree::
32+
.. toctree::
3333
:caption: Additional commercial features
3434

3535
organizations
36+
single-sign-on
3637
sharing
3738
analytics

docs/commercial/organizations.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ The best way to think about this relationship is:
2222

2323
*Owners* will create *Teams* to assign permissions to all *Members*.
2424

25+
.. warning::
26+
27+
Owners, Members and Teams behave differently if you are using
28+
:ref:`SSO with VCS provider (GitHub, Bitbucket or GitLab) <commercial/single-sign-on:SSO with VCS provider (GitHub, Bitbucket or GitLab)>`
29+
2530
Team Types
2631
~~~~~~~~~~
2732

@@ -44,4 +49,3 @@ Roadrunner would set up a *Team* called *Contractors*.
4449
That team would have *Read Only* access to the *Road Builder* project.
4550
Then he would add *Wile E. Coyote* to the team.
4651
This would give him access to just this one project inside the organization.
47-

docs/commercial/single-sign-on.rst

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
Single Sign-On
2+
==============
3+
4+
.. note::
5+
6+
This feature only exists on `Read the Docs for Business <https://readthedocs.com/>`__.
7+
8+
9+
Single Sign-On is supported on |com_brand| for Pro and Enterprise plans.
10+
:abbr:`SSO (Single Sign-On)` will allow you to grant permissions to your organization's projects in an easy way.
11+
12+
Currently, we support two different types of Single Sign-On:
13+
14+
* Authentication *and* authorization are managed by the Identity Provider (e.g. GitHub, Bitbucket or GitLab)
15+
* Authentication is managed by the Identity Provider (e.g. a ``@company.com`` verified email address)
16+
17+
.. note::
18+
19+
SSO is currently in **Beta** and only GitHub and Company Email are supported for now.
20+
If you would like to apply for the Beta, please `contact us <mailto:[email protected]>`_.
21+
22+
.. contents::
23+
:local:
24+
:depth: 2
25+
26+
27+
SSO with VCS provider (GitHub, Bitbucket or GitLab)
28+
---------------------------------------------------
29+
30+
Using an Identity Provider that supports authentication and authorization allows you to manage
31+
"who have access to what projects on Read the Docs" directly from the provider itself.
32+
In case you want a user to have access to your documentation project under Read the Docs,
33+
that user just needs to be granted permissions in the VCS repository associated with it.
34+
35+
Note the users created under Read the Docs must have their GitHub, Bitbucket or GitLab
36+
:doc:`account connected </connected-accounts>` in order to make SSO to work.
37+
38+
.. note::
39+
40+
You can read more about `granting permissions on GitHub`_.
41+
42+
.. _granting permissions on GitHub: https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization
43+
44+
45+
Grant access to read the documentation
46+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+
48+
By granting **read** (or more) permissions to a user in the VCS repository
49+
you are giving access to read the documentation of the associated project on Read the Docs to that user.
50+
51+
52+
Grant access to administrate a project
53+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54+
55+
By granting **write** permission to a user in the VCS repository
56+
you are giving access to read the documentation *and* to be an administrator
57+
of the associated project on Read the Docs to that user.
58+
59+
60+
Grant access to import a project
61+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62+
63+
When SSO with VCS provider is enabled only owners of the Read the Docs organization can import projects.
64+
Adding users as owners of your organization will give them permissions to import projects.
65+
66+
Note that to be able to import a project, that user must have **admin** permissions in the VCS repository associated.
67+
68+
69+
SSO with your company email address
70+
-----------------------------------
71+
72+
Using your company's email address (e.g. ``[email protected]``) allows you to
73+
"grant **read** access to all the projects under your organization to users with a ``@company.com`` verified email address".
74+
75+
76+
Grant access to administer a project
77+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78+
79+
You can add a user under an "Admin Team" to grant **admin** permissions to all the projects under that Team.
80+
This can be done under "your organization detail's page" > :guilabel:`Teams` > :guilabel:`Admins` > :guilabel:`Invite Member`.
81+
82+
83+
Grant access to users to import a project
84+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
85+
86+
Making the user member of any "Admin Team" under your organization (as mentioned in the previous section),
87+
they will be granted access to import a project.
88+
89+
Note that to be able to import a project, that user must have **admin** permissions in the GitHub, Bitbucket or GitLab repository associated,
90+
and their social account connected with Read the Docs.

0 commit comments

Comments
 (0)