{"modulePath":"github.com/txn2/mcp-data-platform","version":"v1.167.0","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package accessreqwire\n\nPackage accessreqwire assembles requests for access (#2090) from the platform: the item lookups, the share an approval creates, the emails and the settings section.\n\n## Functions\n\n```go\nfunc Mount(mux *http.ServeMux, p *platform.Platform, d Deps)\n```\nMount registers requests for access: the page and the request a person who cannot open an item makes, the owner's answers, and the admin settings. A deployment without a database or a share store has none.\n\n## Types\n\n```go\ntype Deps struct {\n\tWrap      func(http.Handler) http.Handler\n\tIsAdmin   func([]string) bool\n\tNotify    *notifydelivery.Handle\n\tAdminWrap func(http.Handler) http.Handler\n\tAuthor    func(*http.Request) string\n}\n```\nDeps is what the routes are mounted with: the portal's authentication (Wrap) and administrator rule, the notification handle the emails go through, and the admin API's authentication (AdminWrap, nil mounts no settings routes) with the author a settings write is recorded under.\n\n","path":"github.com/txn2/mcp-data-platform/internal/httpserver/accessreqwire","name":"accessreqwire","synopsis":"Package accessreqwire assembles requests for access (#2090) from the platform: the item lookups, the share an approval creates, the emails and the settings section.","isRedistributable":true}
