8000 Merge branch 'tomsaleeba-patch-1' of https://github.com/tomsaleeba/d1… · DataONEorg/d1_python@ba40d21 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba40d21

Browse files
committed
Merge branch 'tomsaleeba-patch-1' of https://github.com/tomsaleeba/d1_python into tomsaleeba-tomsaleeba-patch-1
2 parents 14dc128 + 46fc344 commit ba40d21

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

gmn/doc/operation/authn-and-authz.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ To create a whitelist with this subject, first create a file, for instance,
5252
``gmn`` folder::
5353

5454
sudo -Hu gmn bash -c '
55-
cd /var/local/dataone/gmn_venv_py3/lib/python3.6/site-packages/gmn
55+
cd /var/local/dataone/gmn_venv_py3/lib/python3.6/site-packages/d1_gmn
5656
nano whitelist.txt
5757
'
5858

@@ -63,7 +63,7 @@ Blank lines and lines starting with "#" are ignored in the whitelist file, allow
6363

6464
Then, add the entries in the whitelist text file to GMN's database with the following command::
6565

66-
$ python manage.py set_whitelist whitelist.txt
66+
$ python manage.py whitelist bulk whitelist.txt
6767

6868
Any existing subjects in the database are cleared before adding the subjects from the whitelist file. So subjects can be added or removed from the whitelist by adding or removing them in the file and then synchronizing with the database by running the command above.
6969

gmn/doc/setup/migrate.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ Notes:
7979
in the import. To avoid issues such as lost objects, events and system metadata
8080
updates, it may be necessary to restrict access to the source MN during the
8181
transition.
82+

gmn/doc/setup/ubuntu/upgrade/gmn.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ Switch the GMN version served by Apache to v1::
6767
Disable v2 services for this MN in the CN Node registry::
6868

6969
$ sudo -u gmn /var/local/dataone/gmn/bin/python \
70-
/var/local/dataone/gmn/lib/python3.6/site-packages/gmn/manage.py \
70+
/var/local/dataone/gmn/lib/python3.6/site-packages/d1_gmn/manage.py \
7171
register_node_with_dataone --update
7272

0 commit comments

Comments
 (0)
0