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:
@ -24,7 +24,7 @@ From what I can see we need to upgrade the MODS schema from 3.1 to 3.7 and then
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2023-06/" />
|
||||
<meta property="article:published_time" content="2023-06-02T10:29:36+03:00" />
|
||||
<meta property="article:modified_time" content="2023-06-06T16:54:25+03:00" />
|
||||
<meta property="article:modified_time" content="2023-06-08T17:04:20+03:00" />
|
||||
|
||||
|
||||
|
||||
@ -54,9 +54,9 @@ From what I can see we need to upgrade the MODS schema from 3.1 to 3.7 and then
|
||||
"@type": "BlogPosting",
|
||||
"headline": "June, 2023",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2023-06/",
|
||||
"wordCount": "451",
|
||||
"wordCount": "636",
|
||||
"datePublished": "2023-06-02T10:29:36+03:00",
|
||||
"dateModified": "2023-06-06T16:54:25+03:00",
|
||||
"dateModified": "2023-06-08T17:04:20+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -193,6 +193,39 @@ From what I can see we need to upgrade the MODS schema from 3.1 to 3.7 and then
|
||||
</li>
|
||||
<li>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</li>
|
||||
</ul>
|
||||
<h2 id="2023-06-09">2023-06-09</h2>
|
||||
<ul>
|
||||
<li>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:</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">SELECT</span> <span style="color:#f92672">*</span> <span style="color:#66d9ef">FROM</span> eperson <span style="color:#66d9ef">WHERE</span> email <span style="color:#66d9ef">LIKE</span> <span style="color:#e6db74">'%cgiar.org'</span> <span style="color:#66d9ef">AND</span> netid <span style="color:#66d9ef">IS</span> <span style="color:#66d9ef">NOT</span> <span style="color:#66d9ef">NULL</span> <span style="color:#66d9ef">AND</span> password <span style="color:#66d9ef">IS</span> <span style="color:#66d9ef">NOT</span> <span style="color:#66d9ef">NULL</span>;
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>I am wondering if I should delete their passwords and tell them use log in using LDAP
|
||||
<ul>
|
||||
<li>As an initial test I will reset a few accounts including my own that have passwords and salts:</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">UPDATE</span> eperson <span style="color:#66d9ef">SET</span> password<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span>,salt<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span>,digest_algorithm<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span> <span style="color:#66d9ef">WHERE</span> netid <span style="color:#66d9ef">IN</span> (<span style="color:#e6db74">'axxxx'</span>, <span style="color:#e6db74">'axxxx'</span>, <span style="color:#e6db74">'bxxxx'</span>);
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>I also decided to reset passwords/salts for CGIAR accounts that have not been active since 2021 (1.5 years ago):</li>
|
||||
</ul>
|
||||
<div class="highlight"><pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-sql" data-lang="sql"><span style="display:flex;"><span><span style="color:#66d9ef">UPDATE</span> eperson <span style="color:#66d9ef">SET</span> password<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span>,salt<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span>,digest_algorithm<span style="color:#f92672">=</span><span style="color:#66d9ef">DEFAULT</span> <span style="color:#66d9ef">WHERE</span> email <span style="color:#66d9ef">LIKE</span> <span style="color:#e6db74">'%cgiar.org'</span> <span style="color:#66d9ef">AND</span> netid <span style="color:#66d9ef">IS</span> <span style="color:#66d9ef">NOT</span> <span style="color:#66d9ef">NULL</span> <span style="color:#66d9ef">AND</span> password <span style="color:#66d9ef">IS</span> <span style="color:#66d9ef">NOT</span> <span style="color:#66d9ef">NULL</span> <span style="color:#66d9ef">AND</span> salt <span style="color:#66d9ef">IS</span> <span style="color:#66d9ef">NOT</span> <span style="color:#66d9ef">NULL</span> <span style="color:#66d9ef">AND</span> last_active <span style="color:#f92672"><</span> <span style="color:#e6db74">'2022-01-01'</span>::date;
|
||||
</span></span></code></pre></div><ul>
|
||||
<li>This was about 100 accounts…
|
||||
<ul>
|
||||
<li>I will wait some more time before I decide what to do about the more current ones</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Add a few more ORCID identifiers to my list and tag them on CGSpace</li>
|
||||
</ul>
|
||||
<h2 id="2023-06-10">2023-06-10</h2>
|
||||
<ul>
|
||||
<li>Export CGSpace to check for missing Initiative mappings
|
||||
<ul>
|
||||
<li>Start a harvest on AReS</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- raw HTML omitted -->
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user