keycloakify 9.5.2 → 9.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
@@ -40,7 +40,7 @@
|
|
40
40
|
|
41
41
|
Keycloakify is fully compatible with Keycloak 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, [~~22~~](https://github.com/keycloakify/keycloakify/issues/389#issuecomment-1822509763), **23** [and up](https://github.com/keycloakify/keycloakify/discussions/346#discussioncomment-5889791)!
|
42
42
|
|
43
|
-
## Sponsor
|
43
|
+
## Sponsor
|
44
44
|
|
45
45
|
We are exclusively sponsored by [Cloud IAM](https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github), a French company offering Keycloak as a service.
|
46
46
|
Their dedicated support helps us continue the development and maintenance of this project.
|
@@ -431,7 +431,7 @@
|
|
431
431
|
<#if isHash>
|
432
432
|
|
433
433
|
<#if path?size gt 10>
|
434
|
-
<#return "ABORT: Too many recursive calls">
|
434
|
+
<#return "ABORT: Too many recursive calls, path: " + path?join(".")>
|
435
435
|
</#if>
|
436
436
|
|
437
437
|
<#local keys = "">
|
@@ -489,13 +489,14 @@
|
|
489
489
|
!["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
|
490
490
|
) || (
|
491
491
|
"applications.ftl" == pageId &&
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
492
|
+
is_subpath(path, ["applications", "applications"]) &&
|
493
|
+
(
|
494
|
+
key == "realm" ||
|
495
|
+
key == "container"
|
496
|
+
)
|
496
497
|
)
|
497
498
|
>
|
498
|
-
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
|
+
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
500
|
<#continue>
|
500
501
|
</#if>
|
501
502
|
|
@@ -664,9 +665,9 @@
|
|
664
665
|
<#return "ABORT: Couldn't convert into string non hash, non method, non boolean, non enumerable object">
|
665
666
|
|
666
667
|
</#function>
|
667
|
-
<#function
|
668
|
+
<#function is_subpath path searchedPath>
|
668
669
|
|
669
|
-
<#if path?size
|
670
|
+
<#if path?size < searchedPath?size>
|
670
671
|
<#return false>
|
671
672
|
</#if>
|
672
673
|
|
@@ -674,8 +675,14 @@
|
|
674
675
|
|
675
676
|
<#list path as property>
|
676
677
|
|
678
|
+
<#if i == searchedPath?size >
|
679
|
+
<#continue>
|
680
|
+
</#if>
|
681
|
+
|
677
682
|
<#local searchedProperty=searchedPath[i]>
|
678
683
|
|
684
|
+
<#local i+= 1>
|
685
|
+
|
679
686
|
<#if searchedProperty?is_string && searchedProperty == "*">
|
680
687
|
<#continue>
|
681
688
|
</#if>
|
@@ -692,11 +699,13 @@
|
|
692
699
|
<#return false>
|
693
700
|
</#if>
|
694
701
|
|
695
|
-
<#local i+= 1>
|
696
|
-
|
697
702
|
</#list>
|
698
703
|
|
699
704
|
<#return true>
|
700
705
|
|
701
706
|
</#function>
|
707
|
+
|
708
|
+
<#function are_same_path path searchedPath>
|
709
|
+
<#return path?size == searchedPath?size && is_subpath(path, searchedPath)>
|
710
|
+
</#function>
|
702
711
|
</script>
|
package/package.json
CHANGED
@@ -431,7 +431,7 @@
|
|
431
431
|
<#if isHash>
|
432
432
|
|
433
433
|
<#if path?size gt 10>
|
434
|
-
<#return "ABORT: Too many recursive calls">
|
434
|
+
<#return "ABORT: Too many recursive calls, path: " + path?join(".")>
|
435
435
|
</#if>
|
436
436
|
|
437
437
|
<#local keys = "">
|
@@ -489,13 +489,14 @@
|
|
489
489
|
!["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
|
490
490
|
) || (
|
491
491
|
"applications.ftl" == pageId &&
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
492
|
+
is_subpath(path, ["applications", "applications"]) &&
|
493
|
+
(
|
494
|
+
key == "realm" ||
|
495
|
+
key == "container"
|
496
|
+
)
|
496
497
|
)
|
497
498
|
>
|
498
|
-
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
|
+
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
500
|
<#continue>
|
500
501
|
</#if>
|
501
502
|
|
@@ -664,9 +665,9 @@
|
|
664
665
|
<#return "ABORT: Couldn't convert into string non hash, non method, non boolean, non enumerable object">
|
665
666
|
|
666
667
|
</#function>
|
667
|
-
<#function
|
668
|
+
<#function is_subpath path searchedPath>
|
668
669
|
|
669
|
-
<#if path?size
|
670
|
+
<#if path?size < searchedPath?size>
|
670
671
|
<#return false>
|
671
672
|
</#if>
|
672
673
|
|
@@ -674,8 +675,14 @@
|
|
674
675
|
|
675
676
|
<#list path as property>
|
676
677
|
|
678
|
+
<#if i == searchedPath?size >
|
679
|
+
<#continue>
|
680
|
+
</#if>
|
681
|
+
|
677
682
|
<#local searchedProperty=searchedPath[i]>
|
678
683
|
|
684
|
+
<#local i+= 1>
|
685
|
+
|
679
686
|
<#if searchedProperty?is_string && searchedProperty == "*">
|
680
687
|
<#continue>
|
681
688
|
</#if>
|
@@ -692,11 +699,13 @@
|
|
692
699
|
<#return false>
|
693
700
|
</#if>
|
694
701
|
|
695
|
-
<#local i+= 1>
|
696
|
-
|
697
702
|
</#list>
|
698
703
|
|
699
704
|
<#return true>
|
700
705
|
|
701
706
|
</#function>
|
707
|
+
|
708
|
+
<#function are_same_path path searchedPath>
|
709
|
+
<#return path?size == searchedPath?size && is_subpath(path, searchedPath)>
|
710
|
+
</#function>
|
702
711
|
</script>
|