postgres implements the store seat's verbs under the seat's name, and its claim says so (hq ADR 0160)
The store's databases and query are registered under mesh-store, so the runtime serves them on the seat's subjects wherever postgres holds the seat and never lists them as postgres's own; the claim names them, so the mesh can judge the holder without postgres listing the seat's verbs among its tools. Scoped to what the store enables: creating a database stays postgres's tool.
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
"claims": [
|
||||
{
|
||||
"name": "mesh-store",
|
||||
"scope": "mesh"
|
||||
"scope": "mesh",
|
||||
"serves": [
|
||||
"databases",
|
||||
"query"
|
||||
]
|
||||
}
|
||||
],
|
||||
"capabilities": [
|
||||
@@ -133,11 +137,5 @@
|
||||
"from": "Dockerfile"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tools": [
|
||||
"databases",
|
||||
"query",
|
||||
"postgres_list_databases",
|
||||
"postgres_query"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user