Commit Graph

6 Commits

Author SHA1 Message Date
Yang Wang 1cb605e05d
Always add file and native realms unless explicitly disabled (#69096)
This PR makes sure that the file and native realms are always added to the
beginning of the realm chain unless explicitly disabled.

Currently, they are only impliciltly added when:
* No other realms are configured
* No configured realms can be used with current license (so an expired license
  can fallback to these basic realms)

A side effect (intended?) is that file and native realm cannot be truely
disabled at all time because the above two rules always apply regardless
whether the realms are disabled or not.

This PR makes the behaviour more explicit. If the file or native realm is
explicitly disabled, it will be disabled at all time. If they are not
explicitly disabled, they will always be added to the beginning of the realm
chain. Two scenarios are possible:

* File or native realm is explicitly configured. In this case, their order
  value must be provided and honoured
* File or native realm is not configured. In this case, they are implicitly
  added to the beginning of the realm chain (file then native).
2021-04-13 16:31:38 +10:00
Lisa Cawley 381f8d3c64
[DOCS] Clarify subscription requirements (#58958) 2020-07-09 08:12:59 -07:00
Yang Wang 83a819ab63
Make order setting required for Realm config (#51195)
The order config must be explicitly specified for each realm.
It must also be unique for each realm. 
This is a breaking change and will begin to take effect in 8.0

Resolves: #37614
2020-01-28 17:59:54 +11:00
Lisa Cawley fd33eb0d12
[DOCS] Fix realm chains example (#50568) 2020-01-14 09:00:26 -08:00
Lisa Cawley 09071116b0
[DOCS] Security link fixes (#48172) 2019-10-17 07:19:17 -07:00
Lisa Cawley 5c49ac13dc
[DOCS] Copies security source files from stack-docs (#47521) 2019-10-03 13:39:21 -07:00