First commit
This commit is contained in:
40
application/user/user.js
Normal file
40
application/user/user.js
Normal file
@@ -0,0 +1,40 @@
|
||||
|
||||
import username from './user.username.js';
|
||||
|
||||
import salt from './user.salt.js';
|
||||
|
||||
import hash from './user.hash.js';
|
||||
|
||||
import sessionKey from './user.sessionKey.js';
|
||||
|
||||
import groups from './group/user.group.js';
|
||||
|
||||
import table from '/unify/table.js';
|
||||
|
||||
|
||||
import email from './user.email.js';
|
||||
|
||||
|
||||
import collection from "/unify/collection.js";
|
||||
|
||||
|
||||
export default class user extends table {
|
||||
|
||||
username = new username();
|
||||
|
||||
salt = new salt();
|
||||
|
||||
hash = new hash();
|
||||
|
||||
sessionKey = new sessionKey();
|
||||
|
||||
// Every user needs to have an groups field, This is for the permissions.
|
||||
groups = new groups();
|
||||
|
||||
email = new email();
|
||||
|
||||
selectedUsers = new collection( user );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user