keycloakify 9.5.2 → 9.5.4
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,17 @@
|
|
489
489
|
!["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
|
490
490
|
) || (
|
491
491
|
"applications.ftl" == pageId &&
|
492
|
-
|
492
|
+
is_subpath(path, ["applications", "applications"]) &&
|
493
|
+
(
|
494
|
+
key == "realm" ||
|
495
|
+
key == "container"
|
496
|
+
)
|
493
497
|
) || (
|
494
|
-
"
|
495
|
-
|
498
|
+
are_same_path(path, ["user"]) &&
|
499
|
+
key == "delegateForUpdate"
|
496
500
|
)
|
497
501
|
>
|
498
|
-
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
502
|
+
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
503
|
<#continue>
|
500
504
|
</#if>
|
501
505
|
|
@@ -664,9 +668,9 @@
|
|
664
668
|
<#return "ABORT: Couldn't convert into string non hash, non method, non boolean, non enumerable object">
|
665
669
|
|
666
670
|
</#function>
|
667
|
-
<#function
|
671
|
+
<#function is_subpath path searchedPath>
|
668
672
|
|
669
|
-
<#if path?size
|
673
|
+
<#if path?size < searchedPath?size>
|
670
674
|
<#return false>
|
671
675
|
</#if>
|
672
676
|
|
@@ -674,8 +678,14 @@
|
|
674
678
|
|
675
679
|
<#list path as property>
|
676
680
|
|
681
|
+
<#if i == searchedPath?size >
|
682
|
+
<#continue>
|
683
|
+
</#if>
|
684
|
+
|
677
685
|
<#local searchedProperty=searchedPath[i]>
|
678
686
|
|
687
|
+
<#local i+= 1>
|
688
|
+
|
679
689
|
<#if searchedProperty?is_string && searchedProperty == "*">
|
680
690
|
<#continue>
|
681
691
|
</#if>
|
@@ -692,11 +702,13 @@
|
|
692
702
|
<#return false>
|
693
703
|
</#if>
|
694
704
|
|
695
|
-
<#local i+= 1>
|
696
|
-
|
697
705
|
</#list>
|
698
706
|
|
699
707
|
<#return true>
|
700
708
|
|
701
709
|
</#function>
|
710
|
+
|
711
|
+
<#function are_same_path path searchedPath>
|
712
|
+
<#return path?size == searchedPath?size && is_subpath(path, searchedPath)>
|
713
|
+
</#function>
|
702
714
|
</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,17 @@
|
|
489
489
|
!["name", "displayName", "displayNameHtml", "internationalizationEnabled", "registrationEmailAsUsername" ]?seq_contains(key)
|
490
490
|
) || (
|
491
491
|
"applications.ftl" == pageId &&
|
492
|
-
|
492
|
+
is_subpath(path, ["applications", "applications"]) &&
|
493
|
+
(
|
494
|
+
key == "realm" ||
|
495
|
+
key == "container"
|
496
|
+
)
|
493
497
|
) || (
|
494
|
-
"
|
495
|
-
|
498
|
+
are_same_path(path, ["user"]) &&
|
499
|
+
key == "delegateForUpdate"
|
496
500
|
)
|
497
501
|
>
|
498
|
-
<#local out_seq += ["/*If you need '" + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
502
|
+
<#local out_seq += ["/*If you need '" + path?join(".") + "." + key + "' on " + pageId + ", please submit an issue to the Keycloakify repo*/"]>
|
499
503
|
<#continue>
|
500
504
|
</#if>
|
501
505
|
|
@@ -664,9 +668,9 @@
|
|
664
668
|
<#return "ABORT: Couldn't convert into string non hash, non method, non boolean, non enumerable object">
|
665
669
|
|
666
670
|
</#function>
|
667
|
-
<#function
|
671
|
+
<#function is_subpath path searchedPath>
|
668
672
|
|
669
|
-
<#if path?size
|
673
|
+
<#if path?size < searchedPath?size>
|
670
674
|
<#return false>
|
671
675
|
</#if>
|
672
676
|
|
@@ -674,8 +678,14 @@
|
|
674
678
|
|
675
679
|
<#list path as property>
|
676
680
|
|
681
|
+
<#if i == searchedPath?size >
|
682
|
+
<#continue>
|
683
|
+
</#if>
|
684
|
+
|
677
685
|
<#local searchedProperty=searchedPath[i]>
|
678
686
|
|
687
|
+
<#local i+= 1>
|
688
|
+
|
679
689
|
<#if searchedProperty?is_string && searchedProperty == "*">
|
680
690
|
<#continue>
|
681
691
|
</#if>
|
@@ -692,11 +702,13 @@
|
|
692
702
|
<#return false>
|
693
703
|
</#if>
|
694
704
|
|
695
|
-
<#local i+= 1>
|
696
|
-
|
697
705
|
</#list>
|
698
706
|
|
699
707
|
<#return true>
|
700
708
|
|
701
709
|
</#function>
|
710
|
+
|
711
|
+
<#function are_same_path path searchedPath>
|
712
|
+
<#return path?size == searchedPath?size && is_subpath(path, searchedPath)>
|
713
|
+
</#function>
|
702
714
|
</script>
|