Commit c7667b1 1 parent 0c415ee commit c7667b1 Copy full SHA for c7667b1
File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
- Internal pattern for OAuth2 form password.
23
23
- Fixed internal typings of passthrough in Response and TemplateResponse.
24
+ - Esmerald permissions on Include were being overriten by Lilya too early.
24
25
25
26
## 3.6.3
26
27
Original file line number Diff line number Diff line change 1
- __version__ = "3.6.3 "
1
+ __version__ = "3.6.4 "
2
2
3
3
4
4
from lilya import status
Original file line number Diff line number Diff line change @@ -2878,7 +2878,6 @@ async def another(request: Request) -> str:
2878
2878
2879
2879
self .dependencies = dependencies or {}
2880
2880
self .interceptors : Sequence [Interceptor ] = interceptors or []
2881
- self .permissions : Sequence [Permission ] = permissions or [] # type: ignore
2882
2881
self .response_class = None
2883
2882
self .response_cookies = None
2884
2883
self .response_headers = None
@@ -2904,6 +2903,9 @@ async def another(request: Request) -> str:
2904
2903
redirect_slashes = redirect_slashes ,
2905
2904
)
2906
2905
2906
+ # Making sure Esmerald uses the Esmerald permission system and not Lilya's.
2907
+ self .permissions : Sequence [Permission ] = permissions or [] # type: ignore
2908
+
2907
2909
def resolve_app_parent (self , app : Optional [Any ]) -> Optional [Any ]:
2908
2910
"""
2909
2911
Resolves the owner of ChildEsmerald or Esmerald iself.
You can’t perform that action at this time.
0 commit comments