mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
Fixed removals caused by merge, documentation
This commit is contained in:
@@ -110,6 +110,7 @@ const GroupEdit = (props) => {
|
|||||||
data-testid="submit"
|
data-testid="submit"
|
||||||
className="btn btn-primary"
|
className="btn btn-primary"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
// check for changes
|
||||||
let new_users = selected.filter(
|
let new_users = selected.filter(
|
||||||
(e) => !group_data.users.includes(e),
|
(e) => !group_data.users.includes(e),
|
||||||
);
|
);
|
||||||
|
@@ -310,6 +310,9 @@ class JupyterHub(Application):
|
|||||||
Loading one set of groups, then starting JupyterHub again with a different
|
Loading one set of groups, then starting JupyterHub again with a different
|
||||||
set will not remove users or groups from previous launches.
|
set will not remove users or groups from previous launches.
|
||||||
That must be done through the API.
|
That must be done through the API.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.2
|
||||||
|
Changed format of group from list of usernames to dict
|
||||||
""",
|
""",
|
||||||
).tag(config=True)
|
).tag(config=True)
|
||||||
|
|
||||||
|
@@ -30,7 +30,7 @@ def test_help_all():
|
|||||||
assert '--JupyterHub.ip' in out
|
assert '--JupyterHub.ip' in out
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skipif(V(traitlets.__version__) < V('5'), reason="requires traitlets 5")
|
@pytest.mark.skipif(traitlets.version_info < (5,), reason="requires traitlets 5")
|
||||||
def test_show_config(tmpdir):
|
def test_show_config(tmpdir):
|
||||||
tmpdir.chdir()
|
tmpdir.chdir()
|
||||||
p = Popen(
|
p = Popen(
|
||||||
|
Reference in New Issue
Block a user