Endpoints and db architecture to support a role based IAM system.
Generic single-database configuration.