Add HTML5 object access context
This commit is contained in:
@@ -1745,8 +1745,9 @@ async def html5_project_review(project_id: str) -> Response:
|
||||
async def html5_project_object_context(project_id: str, object_name: str) -> Response:
|
||||
schema = await get_object_schema(project_id, object_name)
|
||||
impact = await get_object_impact(project_id, object_name)
|
||||
access = await get_object_access(project_id, object_name)
|
||||
return Response(
|
||||
render_html5_object_context(project_id, schema, impact),
|
||||
render_html5_object_context(project_id, schema, impact, access),
|
||||
media_type="text/html; charset=utf-8",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user