mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2023-06-09
This commit is contained in:
@ -61,4 +61,34 @@ $ ./ilri/update_orcids.py -i /tmp/2023-06-06-orcids-names.txt -db dspacetest -u
|
||||
- This was for the format like "1 p." (note we had to protect against the greedy `.*` in the beginning)
|
||||
- I also did some work to capture a handful of missing DOIs and ISSNs, but it was only about 100 items and I will have to wait until the 10,000+ above finish importing
|
||||
|
||||
## 2023-06-09
|
||||
|
||||
- I see there are ~200 users in CGSpace that have registered with their CGIAR email address using a password as opposed to using Active Directory:
|
||||
|
||||
```sql
|
||||
SELECT * FROM eperson WHERE email LIKE '%cgiar.org' AND netid IS NOT NULL AND password IS NOT NULL;
|
||||
```
|
||||
|
||||
- I am wondering if I should delete their passwords and tell them use log in using LDAP
|
||||
- As an initial test I will reset a few accounts including my own that have passwords and salts:
|
||||
|
||||
```sql
|
||||
UPDATE eperson SET password=DEFAULT,salt=DEFAULT,digest_algorithm=DEFAULT WHERE netid IN ('axxxx', 'axxxx', 'bxxxx');
|
||||
```
|
||||
|
||||
- I also decided to reset passwords/salts for CGIAR accounts that have not been active since 2021 (1.5 years ago):
|
||||
|
||||
```sql
|
||||
UPDATE eperson SET password=DEFAULT,salt=DEFAULT,digest_algorithm=DEFAULT WHERE email LIKE '%cgiar.org' AND netid IS NOT NULL AND password IS NOT NULL AND salt IS NOT NULL AND last_active < '2022-01-01'::date;
|
||||
```
|
||||
|
||||
- This was about 100 accounts...
|
||||
- I will wait some more time before I decide what to do about the more current ones
|
||||
- Add a few more ORCID identifiers to my list and tag them on CGSpace
|
||||
|
||||
## 2023-06-10
|
||||
|
||||
- Export CGSpace to check for missing Initiative mappings
|
||||
- Start a harvest on AReS
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user