RephiWeb.UserJSON (Rephi v0.0.2)

View Source

View module for rendering user data.

This module handles the JSON rendering of user resources, including their associated roles and permissions.

Summary

Functions

Renders a list of users.

Renders current user with roles and permissions.

Renders user roles.

Renders a single user.

Renders user with authentication token.

Functions

index(map)

Renders a list of users.

me_with_auth(map)

Renders current user with roles and permissions.

roles(map)

Renders user roles.

show(map)

Renders a single user.

user_with_token(map)

Renders user with authentication token.