Add a role to a user.
Add a role to a user.
the unique id of the user
the name of the role
a boolean indicator if the role was added
Add several roles to a user.
Add several roles to a user.
Add a role to a given list of users.
Add a role to a given list of users.
the UUID of the Role to be added
an IndexedSeq of UUID listing the users to gain the role
a boolean indicator if the role was added
Authenticates a given identifier/password combination.
Authenticates a given identifier/password combination.
a String representing the user's e-mail or username
a the user's password
the optionally authenticated user info
Create a new user.
Create a new user.
A unique identifier for this user.
The user's unique e-mail address.
The user's password.
The user's first name.
The user's family name.
a future disjunction containing the created user, or a failure
Create a new role.
Create a new role.
the name of the Role to create
the newly created Role
Database connection (pool).
Database connection (pool). Services will take connections from this pool when making repository calls.
Deletes a user.
Deletes a user.
TODO: delete the user's work
the unique id of the user to be updated
the latest version of the user for O.O.L.
a future disjunction containing the deleted user, or a failure
Delete a role.
Delete a role.
the unique id of the role
the version of the role for optimistic offline lock
the deleted role
Find a user by their unique identifier.
Find a user by their unique identifier.
The unique e-mail or username identifying this user.
the optionally authenticated user info
Find a user by their UUID.
Find a user by their UUID.
the unique id of the user
Find a specific role by name
Find a specific role by name
an optional Role
Find a specific role by its unique id.
Find a specific role by its unique id.
the UUID of the Role to find
an optional Role
List users with filter for roles and courses.
List users with filter for roles and courses.
an optional list of roles to filter by
a list of users with their roles and courses
List all users.
List all users.
a list of users with their roles and courses
List all roles for one user.
List all roles for one user.
an array of this user's Roles
List all roles.
List all roles.
an array of Roles
Remove a role from a user.
Remove a role from a user.
the unique id of the user
the name of the role
a boolean indicator if the role was removed
Remove a role from a given list of users.
Remove a role from a given list of users.
the UUID of the Role to be removed
an IndexedSeq of UUID listing the users to lose the role
a boolean indicator if the role was removed
Update a user
Update a user
the unique id of the user
the latest version of the user for O.O.L.
optionally update the e-mail
optionally update the username
the user's updated given name
the user's updated family name
a future disjunction containing the updated user, or a failure
Update a user's identifiers.
Update a user's identifiers.
the unique id of the user
the latest version of the user for O.O.L.
optionally update the e-mail
optionally update the username
a future disjunction containing the updated user, or a failure
Update a user's "non-identifying" information.
Update a user's "non-identifying" information.
the unique id of the user to be updated
the latest version of the user for O.O.L.
the user's updated given name
the user's updated family name
a future disjunction containing the updated user, or a failure
Update the user's password.
Update the user's password.
the unique id of the user to be updated
the latest version of the user for O.O.L.
the new password
a future disjunction containing the updated user, or a failure
Update a Role
Update a Role
the unique id of the Role
the version of the Role for optimistic offline lock
the new name to assign this Role
the newly updated Role
Takes a function that returns a future, and runs it inside a database transaction.
Takes a function that returns a future, and runs it inside a database transaction.