Users schema roles fix after update
This commit is contained in:
parent
eddc97fe98
commit
8941d6e54e
1 changed files with 2 additions and 5 deletions
|
|
@ -78,11 +78,8 @@ const schemaUser = new SimpleSchema({
|
||||||
// Option 2: [String] type
|
// Option 2: [String] type
|
||||||
// If you are sure you will never need to use role groups, then
|
// If you are sure you will never need to use role groups, then
|
||||||
// you can specify [String] as the type
|
// you can specify [String] as the type
|
||||||
roles: {
|
roles: { type: Array, optional: true },
|
||||||
type: Array,
|
'roles.$': { type: String, optional: true },
|
||||||
// autoform: { type: 'hidden' },
|
|
||||||
optional: true
|
|
||||||
},
|
|
||||||
// https://github.com/todda00/meteor-friendly-slugs/issues/1
|
// https://github.com/todda00/meteor-friendly-slugs/issues/1
|
||||||
friendlySlugs: {
|
friendlySlugs: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue