Monitorex.Resolver.Default (monitorex v0.5.0)

Copy Markdown

Default resolver implementation that grants unrestricted access.

Used when no custom Monitorex.Resolver is configured. Returns :all for every user, allowing full dashboard access.

Summary

Functions

Grants unrestricted access.

Returns a default anonymous user map.

Functions

resolve_access(user)

Grants unrestricted access.

Always returns :all, allowing every request through.

resolve_user(conn)

Returns a default anonymous user map.

Always returns %{id: nil, name: "anonymous"} regardless of the connection.