mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Full rework of account management
Complete rewrite of the account management and related systems. Makes the architecture more modular, allowing for easier extensions and configurations.
This commit is contained in:
44
config/identity/interaction/enable/webid.json
Normal file
44
config/identity/interaction/enable/webid.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
|
||||
"@graph": [
|
||||
{
|
||||
"comment": "Enable linking WebIDs to an account."
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:default:InteractionRouteHandler",
|
||||
"@type": "WaterfallHandler",
|
||||
"handlers": [
|
||||
{ "@id": "urn:solid-server:default:AccountWebIdRouter" }
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:default:AccountControlHandler",
|
||||
"@type": "ControlHandler",
|
||||
"controls": [{
|
||||
"ControlHandler:_controls_key": "webId",
|
||||
"ControlHandler:_controls_value": { "@id": "urn:solid-server:default:AccountWebIdRoute" }
|
||||
}]
|
||||
},
|
||||
|
||||
{
|
||||
"@id": "urn:solid-server:default:HtmlViewHandler",
|
||||
"@type": "HtmlViewHandler",
|
||||
"templates": [{
|
||||
"@id": "urn:solid-server:default:LinkWebIdHtml",
|
||||
"@type": "HtmlViewEntry",
|
||||
"filePath": "@css:templates/identity/account/link-webid.html.ejs",
|
||||
"route": { "@id": "urn:solid-server:default:AccountWebIdRoute" }
|
||||
}]
|
||||
},
|
||||
{
|
||||
"@id": "urn:solid-server:default:AccountHtmlControlHandler",
|
||||
"@type": "ControlHandler",
|
||||
"controls": [{
|
||||
"ControlHandler:_controls_key": "linkWebId",
|
||||
"ControlHandler:_controls_value": { "@id": "urn:solid-server:default:AccountWebIdRoute" }
|
||||
}]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user