Skip to content

Commit 52076c2

Browse files
committed
FOLIO-4160: Enable mod-authtoken early in install*.json
https://folio-org.atlassian.net/browse/FOLIO-4160 Move mod-authtoken to the top of install-extras.json so that it gets installed early. Then it is available when enabling a second module that requires a token to access a permission protected API of a third module. Modules using authtokens don't have the authtoken okapi interface in their requires section of in their module descriptor because they don't use the mod-authtoken HTTP API but the token feature of Okapi. Therefore we need to use the install order to ensure mod-authtoken availability. https://folio-project.slack.com/archives/CFQU1MF61/p1725977004958399?thread_ts=1725933118.184429&cid=CFQU1MF61 mod-authtoken requires mod-permissions and mod-users therefore we use this natural order: 1. mod-permissions 2. mod-users 3. mod-authtoken
1 parent 378965a commit 52076c2

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

install-extras.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
"id": "mod-permissions-6.6.0",
44
"action": "enable"
55
},
6+
{
7+
"id": "mod-users-19.4.0",
8+
"action": "enable"
9+
},
10+
{
11+
"id": "mod-authtoken-2.16.1",
12+
"action": "enable"
13+
},
614
{
715
"id": "edge-connexion-1.3.1",
816
"action": "enable"
@@ -75,10 +83,6 @@
7583
"id": "mod-email-1.18.0",
7684
"action": "enable"
7785
},
78-
{
79-
"id": "mod-users-19.4.0",
80-
"action": "enable"
81-
},
8286
{
8387
"id": "mod-users-bl-7.9.0",
8488
"action": "enable"
@@ -251,10 +255,6 @@
251255
"id": "mod-quick-marc-6.0.0",
252256
"action": "enable"
253257
},
254-
{
255-
"id": "mod-authtoken-2.16.1",
256-
"action": "enable"
257-
},
258258
{
259259
"id": "mod-calendar-3.1.0",
260260
"action": "enable"

0 commit comments

Comments
 (0)