Make admin simply a boolean instead of group
This simplifies a lot of logic. Keeping an admin group has no benefit
This commit is contained in:
@@ -72,7 +72,8 @@ var ADMIN = {
|
||||
createdAt: 'sometime back',
|
||||
modifiedAt: 'now',
|
||||
resetToken: '',
|
||||
displayName: ''
|
||||
displayName: '',
|
||||
admin: true
|
||||
};
|
||||
|
||||
var APP = {
|
||||
|
||||
Reference in New Issue
Block a user