foca
foca copied to clipboard
Opinionated Flask microservice archetype for quick OpenAPI-based microservice development
Currently, we have kept the default permission endpoints as fixed paths. Instead, we should probably focus on adding a client for the default API, and for that, we know the...
Currently, we need to manually set permissions for a given resource. However, if the user has himself created a resource, he should have access to permission management for that given...
This issue is being created to cumulate all the subsequent pending issues with access control feature enhancement with the intent to track them all together. New issues, if required must...
Replace boilerplate code with FOCA and test functionality in the following apps: - [ ] [**cwl-WES**](https://github.com/elixir-cloud-aai/cwl-WES) (elixir-cloud-aai/cwl-WES#153) - [x] [**proWES**](https://github.com/elixir-cloud-aai/proWES) (elixir-cloud-aai/proWES#10) - [x] [**proTES**](https://github.com/elixir-cloud-aai/proTES) (elixir-cloud-aai/proTES#55) Note that this is a...
Guard function against code injection, see https://github.com/elixir-cloud-aai/drs-filer/issues/54 Remove `eval` and instead require callers to provide a literal string of allowed chars to `charset`, e.g., `0123456789ABCDEF`.
The [`ExceptionConfig()` model/API](https://github.com/elixir-cloud-aai/foca/blob/f8699377c862d3d5479652207ec5f0419bf987a6/foca/models/config.py#L192-L440) is unnecessarily complicated. Simplify with a focus on usability.
See security vulnerability for `Werkzeug` here: https://github.com/advisories/GHSA-2g68-c3qc-8985 Upgrade `Werkzeug` and, while we are at it, also upgrade Flask, each to the latest version.
Use [Black](https://black.readthedocs.io/en/stable/) to auto-format code and include check in CI workflow.
Use [Pylint](https://pylint.org//) to refactor code and include check in CI workflow.
Use [`flake8-docstrings`](https://black.readthedocs.io/en/stable/) (and potentially [`flake8-docstrings-complete`](https://pypi.org/project/flake8-docstrings-complete/)) for implementing best docstring practices and include check in CI workflow.