Documentation
¶
Overview ¶
Package accessreqwire assembles requests for access (#2090) from the platform: the item lookups, the share an approval creates, the emails and the settings section.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
type Deps struct {
Wrap func(http.Handler) http.Handler
IsAdmin func([]string) bool
Notify *notifydelivery.Handle
AdminWrap func(http.Handler) http.Handler
Author func(*http.Request) string
}
Deps 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.
Click to show internal directories.
Click to hide internal directories.