User
Classes for representing a userThis is a module for Project Forge. It provides classes for representing persistent user records and wires them throughout the application
https://github.com/kyleu/projectforge/tree/master/module/user
License
Licensed under CC0
Usage
- A user profile is provided in the session, new users are saved in the database
A default implementation of a User is provided, saving records on the filesystem. Either make it your own by editing the files, or have Project Forge generate one by making a new export model file:
./.projectforge/export/models/user.json
(database
and export
modules are required)
1 |
|
The fields “id” and “name” are required, but feel free to customize this model for your purposes