Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/8.2.x' into HEAD
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Sep 12, 2023
2 parents 42331f4 + 3ec14d0 commit 1efe635
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 179 deletions.
6 changes: 5 additions & 1 deletion src/7-to-8/major-changes/ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ and as a multi user hub, ``cylc hub``. Both are dependent on `Cylc UI Server`_ i
Launching the UI via the hub will require authentication.
The default Authenticator uses PAM to authenticate system users with their
username and password.
Going via the hub unlocks the :ref:`Authorization` feature.

Going via the hub unlocks the ability to grant other users the permission
to view and interact with workflows running under your account.
Site administrators will need to configure this, for more information
see :ref:`cylc.uiserver.multi-user`.

.. figure:: ../../img/hub.png
:figwidth: 80%
Expand Down
5 changes: 5 additions & 0 deletions src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
autosummary_imported_members = False

# Mapping to other Sphinx projects we want to import references from.
# NOTE: To search available references, use:
# $ python -m sphinx.ext.intersphinx <url>/objects.inv | less
intersphinx_mapping = {
'rose': (
'http://metomi.github.io/rose/2.1.0/html', None
Expand All @@ -119,6 +121,9 @@
),
'jupyter_server': (
'https://jupyter-server.readthedocs.io/en/latest/', None
),
'jupyter_hub': (
'https://jupyterhub.readthedocs.io/en/stable/', None
)
}

Expand Down
2 changes: 2 additions & 0 deletions src/dictionaries/words
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ arg
args
auth
authenticator
authoriser
backticks
baz
boolean
Expand Down Expand Up @@ -185,6 +186,7 @@ timeouts
timestep
timezone
timezones
uiserver
unpaused
unpausing
untracked
Expand Down
31 changes: 8 additions & 23 deletions src/reference/architecture/ui-server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,14 @@ spawns UI Servers on behalf of users and provides each with a fixed URL
Users can access each other's UI Servers providing they have been granted
permission.

Authorization is performed by Cylc within the `Cylc UI Server`_, see
:ref:`cylc authorization`.
*Authentication* is provided by either `Jupyter Server`_ or `Jupyter Hub`_.

*Authorization* in the `Cylc UI Server`_ is provided by Cylc. In
multi-user mode this allows users to connect to each other's UI Servers for
monitoring or control purposes.

For more information on security and configuration see
:ref:`cylc.uiserver.multi-user`.

.. _Jupyter Hub technical overview: https://jupyterhub.readthedocs.io/en/stable/reference/technical-overview.html

Expand All @@ -109,24 +115,3 @@ For information on the architecture of `Jupyter Hub`_ and the

.. image:: img/gui-arch-multi-user.svg
:width: 100%


.. _cylc authorization:

Authorization
-------------

*Authentication* is provided by either `Jupyter Server`_ or `Jupyter Hub`_.

*Authorization* in the `Cylc UI Server`_ is provided by Cylc. In
multi-user mode this allows users to connect to each others UI Servers for
monitoring or control purposes.

See also :ref:`Authorization`.

.. note::

This authorization only applies to the ``/cylc`` endpoints managed by the
Cylc extension. Other `Jupyter Server`_ extensions such as `Jupyter Lab`_
do not share this authorization and will not be accessible to other users
(unless they can be configured to allow this).
30 changes: 30 additions & 0 deletions src/reference/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,36 @@ For more detail see the component changelogs:
* `metomi-rose-changelog`_
* `metomi-isodatetime-changelog`_


----------

Cylc 8.3.0
----------

.. admonition:: Cylc Components
:class: hint

TODO

..
Uncomment this before 8.3.0 release
:cylc-flow: `8.3 <https://github.com/cylc/cylc-flow/blob/8.3.x/CHANGES.md>`__
:cylc-uiserver: `1.4 <https://github.com/cylc/cylc-uiserver/blob/1.4.x/CHANGES.md>`__
:cylc-rose: `1.4 <https://github.com/cylc/cylc-rose/blob/1.4.x/CHANGES.md>`__


Upgrade To The Latest Jupyter Releases
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The Cylc UI Server has been updated to work with the latest releases of
`Jupyter Server`_ and `Jupyter Hub`_.

If you are utilising Cylc's multi-user functionality then your configuration
will require some changes to work with these releases.

See :ref:`cylc.uiserver.multi-user` for more details

----------

Cylc 8.2.0
Expand Down
Loading

0 comments on commit 1efe635

Please sign in to comment.