llama-stack-mirror/llama_stack/distribution
Eric Huang ebea3c8277 api access
- Create BaseServerMiddleware base class for server middleware
- Refactor TracingMiddleware to extend BaseServerMiddleware
- Consolidate route matching logic in base class
- Update server.py to use user_from_scope utility
- Add required_scope parameter to WebMethod in schema_utils.py
- Create AccessControlMiddleware with simplified scope checking
- Update telemetry API to use required_scope protection
- Add comprehensive test coverage for access control logic
- Integrate access control middleware into server setup
- Rename AccessControlMiddleware to AuthorizationMiddleware for better clarity
- Update imports and references in server.py and tests
- Keep the same functionality and API
- Merge authorization logic directly into AuthenticationMiddleware
- Remove separate access_control.py file
- Update middleware setup in server.py to use single middleware
- Rename and update tests to test the merged functionality
- AuthenticationMiddleware now handles both authentication and authorization
2025-07-24 14:56:20 -07:00
..
access_control fix: auth sql store: user is owner policy (#2674) 2025-07-10 14:40:32 -07:00
routers feat(registry): more flexible model lookup (#2859) 2025-07-22 15:22:48 -07:00
routing_tables feat(registry): make the Stack query providers for model listing (#2862) 2025-07-24 10:39:53 -07:00
server api access 2025-07-24 14:56:20 -07:00
store fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
ui chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
utils chore: merge --config and --template in server.py (#2716) 2025-07-21 13:19:27 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
build_conda_env.sh chore: fix build script bug (#2507) 2025-06-24 12:05:22 -07:00
build_container.sh fix: prevent shell redirection issues with pip dependencies (#2867) 2025-07-23 21:43:33 +02:00
build_venv.sh chore: remove straggler references to llama-models (#1345) 2025-03-01 14:26:03 -08:00
client.py chore: make cprint write to stderr (#2250) 2025-05-24 23:39:57 -07:00
common.sh feat(pre-commit): enhance pre-commit hooks with additional checks (#2014) 2025-04-30 11:35:49 -07:00
configure.py fix: stop image_name from being cast to an integer (#2759) 2025-07-15 09:44:21 -07:00
datatypes.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
distribution.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
external.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
inspect.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
library_client.py chore: return webmethod from find_matching_route (#2883) 2025-07-24 11:37:21 -07:00
providers.py feat: consolidate most distros into "starter" (#2516) 2025-07-04 15:58:03 +02:00
request_headers.py api access 2025-07-24 14:56:20 -07:00
resolver.py feat: Bring Your Own API (BYOA) (#2228) 2025-07-24 13:41:14 -07:00
stack.py feat(registry): make the Stack query providers for model listing (#2862) 2025-07-24 10:39:53 -07:00
start_stack.sh chore: merge --config and --template in server.py (#2716) 2025-07-21 13:19:27 -07:00