<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:27:36 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-3372] Module users creation automation for reference environments</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-3372</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;Purpose/Overview:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&#160;Some modules (e.g. mod-pubsub, mod-search, mod-remote-storage) creates users on tenant init, which is considered insecure. Also such&#160;&lt;em&gt;virtual (module)&lt;/em&gt;&#160;users could be deleted by mistake by librarians using Folio UI.&lt;br/&gt;
 In order to resolve both problems such users should be created in the same way, as it is done for&#160;&lt;em&gt;tenant&lt;/em&gt;&#160;(aka&#160;&lt;em&gt;institutional&lt;/em&gt;) users, that are used for edge modules and the type property should be specified for them. Also this information will be included to module descriptors for both existing&#160;&lt;em&gt;tenant users&lt;/em&gt;&#160;and new&#160;&lt;em&gt;module users&lt;/em&gt;, so that the process of creation of such users can be automated.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Requirements/Scope:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Users should be created by calling mod-users the same way, as it is done for edge (aka tenant level users) and module users. The exception is that for module users, the API_KEY should not be created.&lt;/li&gt;
	&lt;li&gt;The users should be created by script, that calls mod-users POST&#160;API&lt;/li&gt;
	&lt;li&gt;The json body for the POST method should contain &quot;type&quot; property with value &quot;module&quot;&lt;/li&gt;
	&lt;li&gt;The user should be created for modules, which have section &quot;user&quot;: {...}&#160;in the Module-Descriptor.xml&lt;/li&gt;
	&lt;li&gt;The system user&#160;should be granted with&#160;permissions, that are stated in Module-Descriptor.xml in the format&lt;/li&gt;
&lt;/ol&gt;


&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-quote&quot;&gt;&quot;user&quot;&lt;/span&gt;: { &lt;span class=&quot;code-quote&quot;&gt;&quot;permissions&quot;&lt;/span&gt;: [&lt;span class=&quot;code-quote&quot;&gt;&quot;search.index.inventory.reindex.post&quot;&lt;/span&gt;, ....]}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;b&gt;Acceptance criteria:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Users are automatically created for all reference environments (testing, snapshot, rancher) based on the module descriptors&#160;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="79836">FOLIO-3372</key>
            <summary>Module users creation automation for reference environments</summary>
                <type id="10005" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium">Story</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="10003" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/generic.png" description="The issue cannot be worked on because it is blocked by other issues. (Migrated on 4 Feb 2024 13:41 UTC)">Blocked</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="70121:84bca0b8-4380-4d87-8a90-53e9133584f6">Mikhail Fokanov</reporter>
                                    <labels>
                            <label>dev-environment</label>
                            <label>devops</label>
                    </labels>
                <created>Tue, 21 Dec 2021 12:58:23 +0000</created>
                <updated>Mon, 10 Jan 2022 15:12:17 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="190387" author="70121:84bca0b8-4380-4d87-8a90-53e9133584f6" created="Tue, 21 Dec 2021 13:21:11 +0000"  >&lt;p&gt;Additional documentation for this task:&#160;&lt;a href=&quot;https://docs.google.com/document/d/1fbX8sLRJAMEX4FJ8Ix2CmrGcowd5N0KSg6_j-Jq0lEg/edit#heading=h.6wcz7jfu7qx5&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://docs.google.com/document/d/1fbX8sLRJAMEX4FJ8Ix2CmrGcowd5N0KSg6_j-Jq0lEg/edit#heading=h.6wcz7jfu7qx5&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="190392" author="5ee89462f7aa140abd82d11d" created="Wed, 22 Dec 2021 12:11:33 +0000"  >&lt;p&gt;I prefer to have these task been automated in Okapi and not as an additional tasks that sysops need to do.&lt;/p&gt;

&lt;p&gt;This will make a single server installation very easy because Okapi can do everything.&lt;/p&gt;

&lt;p&gt;This is my proposal as a draft to be discussed: &lt;a href=&quot;https://folio-org.atlassian.net/browse/OKAPI-1061&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-org.atlassian.net/browse/OKAPI-1061&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="190396" author="557058:b8e64633-1f7c-402d-9caf-9959a5ba5d0d" created="Mon, 10 Jan 2022 15:12:17 +0000"  >&lt;p&gt;Blocked until a solution is discussed and agreed on (meeting scheduled for 11.01).&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="28700">MSEARCH-166</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="52293">RANCHER-112</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="52828">OKAPI-1061</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="54391">OKAPI-1053</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03wzr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 22 Dec 2021 12:11:33 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>