Commit 52076c2
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-authtoken1 parent 378965a commit 52076c2
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
6 | 14 | | |
7 | 15 | | |
8 | 16 | | |
| |||
75 | 83 | | |
76 | 84 | | |
77 | 85 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
251 | 255 | | |
252 | 256 | | |
253 | 257 | | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
0 commit comments