-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] fastapi_auth_jwt_demo: assign and show Auth Jwt Validator
- Loading branch information
1 parent
c89c938
commit 458aec1
Showing
8 changed files
with
53 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mohamed Alkobrosli <alkobroslymohamed@gmail.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- Copyright 2022 ACSONE SA/NV | ||
License LGPL-3.0 or later (http://www.gnu.org/licenses/LGPL). --> | ||
<odoo> | ||
|
||
<record model="ir.ui.view" id="fastapi_endpoint_demo_jwt_form_view"> | ||
<field name="name">fastapi.endpoint.demo.jwt.form</field> | ||
<field name="model">fastapi.endpoint</field> | ||
<field name="inherit_id" ref="fastapi.fastapi_endpoint_form_view" /> | ||
<field name="arch" type="xml"> | ||
<span name="configuration" position="after"> | ||
<group | ||
name="jwt_demo_app_configuration" | ||
title="Configuration" | ||
attrs="{'invisible': [('app', '!=', 'auth_jwt_demo')]}" | ||
> | ||
<field | ||
name="auth_jwt_validator_id" | ||
attrs="{'required': [('app', '=', 'auth_jwt_demo')]}" | ||
/> | ||
</group> | ||
</span> | ||
</field> | ||
</record> | ||
|
||
</odoo> |