InvenTree/docs/docs
Matthias Mair 8bb03b7afd
feat(backend): add oauth2 (#9333)
* feat(backend): add oauth2

* fix import

* Add inventree roles

* refactor to make lookup more efficient

* fix single scope definitions

* cleanup

* fix schema

* reduce auth methods

* fix OAuth validator

* re-enable token and basic auth again

* Add models to role mapping

* change scope args

* add debug step for schema generation

* add oauth config for schema generation

* improve token -> permission mapping

* fix req

* extend checks to ensure normal auth also passes

* fix api version

* fix ignore

* fix rule name

* bump api version

* remove old modelref

* move scope definition

* make test results easier to work with

* add tests to ensure scopes are in sync with rulesets

* fix docstring

* fix various permissions and their mapping to oauth

* refactor

* simplify

* fix permission mapping

* ignore failure cases

* fix unauthenticated access

* flag oAuth2 till it is done

* Add OIDC support

* add RSA key generation and docs

* fix test

* move imports

* update ignore

* feat(backend): Add API Schema stats

* add scope stats

* fix name

* fix scope output

* feat(backend): test custom command

* add warning for unknown scopes

* reduce diff in launch.json

* cleanup  diff

* add error code for ruleset / scope issues

* update structure

* add oauth docs

* add experimetnal feature docs

* simplify metadata endpoint

* add importer model

* refactor(backend): simplify metadata endpoint

* fix imports

* simplify even more

* remove unneeded schema tooling

* fix permission mappings

* fix testing

* fix role calculations

* fix mapping

* remove importer change to unblock this

* remove importer scope everywhere

* fix merge conflict in test

* add missing models

* fix api version

* fix OASToken matcher

* revert permission class change

* reduce size of test log by writing schema

* fix permissions

* fix file path

* extend schema to remove need for TokenMatchesOASRequirements

* cleanup permissions file

* add base object permission
2025-04-18 19:27:32 +10:00
..
api feat(backend): add oauth2 (#9333) 2025-04-18 19:27:32 +10:00
app Sales order barcode allocate (#6072) 2023-12-14 11:13:50 +11:00
assets [UI] Reimplement calendar views (#8933) 2025-03-16 18:01:51 +11:00
barcodes Barcode scanning (#8732) 2024-12-28 20:38:53 +11:00
build [Feature] Data export plugins (#9096) 2025-03-18 11:35:44 +11:00
concepts Fix typo in docs (#9493) 2025-04-11 14:22:24 +10:00
develop [UI] Web Prefix (#9334) 2025-03-20 00:12:52 +11:00
extend [Plugin] Plugin context (#9439) 2025-04-16 00:30:34 +10:00
javascripts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
order [UI] Reimplement calendar views (#8933) 2025-03-16 18:01:51 +11:00
part chore(backend): bump devtools (#9088) 2025-02-18 18:57:48 +11:00
project docs: add docs reagrding support the org receives (#9516) 2025-04-16 08:05:34 +10:00
releases Remove CUI (#8384) 2024-12-17 12:30:41 +11:00
report Typed report context (#9431) 2025-04-03 07:45:37 +11:00
settings feat(backend): add oauth2 (#9333) 2025-04-18 19:27:32 +10:00
start feat(backend): add oauth2 (#9333) 2025-04-18 19:27:32 +10:00
stock [UI] Web Prefix (#9334) 2025-03-20 00:12:52 +11:00
stylesheets Render API docs (#6463) 2024-03-02 11:28:37 +11:00
webfonts Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
__init__.py Fixes for docs building (#4659) 2023-04-22 23:35:25 +10:00
demo.md Invoke docs (#8373) 2024-10-27 10:51:51 +11:00
faq.md feat(backend): Improve error with missing manifest (#8957) 2025-01-27 19:52:05 +11:00
features.md Fix spelling of InvenTree in code base (#8561) 2024-11-26 08:29:47 +11:00
hooks.py [Pricing] Add option to convert received items currency (#8970) 2025-02-03 18:34:15 +11:00
index.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
privacy.md Documentation integration (#4653) 2023-04-22 22:40:29 +10:00
security.md fix list format (#9376) 2025-03-25 20:07:42 +11:00