ModuleRootResolver

Where a data module lives on an account's pod, so a grant on the module can cover the module's resources when a raw resource verb names one of them.

Only the host knows: the containers come from the type-index registrations, which can differ per pod. invalidate drops what is remembered for a WebID after a verb that may have added a container.

Inheritors

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun invalidate(webId: String)

Forgets anything remembered for webId.

Link copied to clipboard
abstract suspend fun rootContainers(moduleId: String, webId: String): List<String>

The containers moduleId occupies on webId's pod; empty for a module the host does not know.