SachaG
ab449136c1
Make canReadField work for guests too
2018-09-17 09:53:21 +09:00
SachaG
b3653fb48e
Fix Users.canReadField
2018-09-16 15:36:44 +09:00
SachaG
2d4889abcc
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
...
# Conflicts:
# packages/vulcan-core/lib/modules/default_resolvers.js
2018-09-14 11:10:55 +09:00
Apollinaire
eb158dcb90
[BugFix] remove document
from canCreateField
...
When you run Users.CanCreateField with a function in `canCreate` field prop, it's trying to call a `document` arg that is undefined, because obviously there is no initial document when you try to create a document. So now it's only calling canCreate(user) as defined in the docs. I should have spotted this in #2006 , sorry!
2018-09-13 19:04:45 +02:00
SachaG
5fc0e30f40
Fix ESLint
2018-09-12 11:59:00 +09:00
Vincent Roman
8e859a38fa
vulcan-users - permissions - filter out array based fields
2018-09-07 15:51:45 +01:00
Eric Burel
37294c3ad2
allow to edit username, and 3rd party name if it is set
2018-09-05 17:09:23 +02:00
SachaG
86ae9d6959
Better use mutations
2018-09-04 21:47:16 +09:00
SachaG
7efcb54d16
Field permission check should always succeed when field is mutable by guests
2018-09-04 09:27:55 +09:00
SachaG
bc497c31e3
New users are considered part of the members group during creation
2018-08-31 22:51:11 +09:00
James Babcock
7b450d3a9b
When changing email address on an account, mark the new address as unverified
2018-08-30 16:03:19 -04:00
SachaG
67dfaffc2b
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-08-30 07:50:27 +09:00
SachaG
a388e1663f
Renaming
2018-08-29 20:36:36 +09:00
James Babcock
a9422307e1
Add support for email address verification.
2018-08-27 15:47:16 -04:00
Sacha Greif
b67c928a3e
Merge pull request #2035 from Apollinaire/opencrudFixes
...
Users totalCount and removed one console.log
2018-08-21 17:41:39 +09:00
Apollinaire
944b57df76
remove console.log
2018-08-20 12:39:26 +02:00
Apollinaire
56422c5e9a
Add totalCount to User multi resolver
2018-08-20 12:34:09 +02:00
SachaG
c2546f07c6
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-08-20 15:21:07 +09:00
SachaG
fa6709109e
Simplify/fix permissions code
2018-08-20 15:21:02 +09:00
Apollinaire
80d390ec8a
add user.create.before
hook to classic signup workflow
2018-08-17 19:28:57 +02:00
Apollinaire
8b3f80dfc2
use single argument and fix hook names for onCreateUserCallback
2018-08-17 16:29:45 +02:00
Apollinaire
4c4f11b1a0
re-establish vulcan's custom enroll and reset urls
...
since f3c1f7bf31
the urls sent in the resetPassword and enrollment emails were the Meteor default one, `/#/reset-password`
2018-08-17 16:28:41 +02:00
Apollinaire
fad9db6602
register user callbacks
2018-08-16 16:06:52 +02:00
Apollinaire
45e951a7a2
createUser small fix
2018-08-16 15:34:21 +02:00
Apollinaire
595c3c3051
[opencrud] update Users Mutations to match {selector, data} args
2018-08-13 14:03:50 +02:00
SachaG
8347dffb2e
Fix user creation onCreate/onInsert step
2018-08-07 10:13:59 +09:00
SachaG
bb80001056
Fix eslint issues
2018-06-30 11:34:17 +02:00
Apollinaire
a80c66e0ca
Remove hardcoded limit to users List resolver
...
The limit is already set in `Users.getParameters`, where it's taken from the setting `maxDocumentsPerRequest`, and was overwritten to be maxed at 100.
2018-06-27 14:43:39 +02:00
SachaG
6d0dd73b41
editableBy -> canUpdate
2018-06-22 20:58:02 +09:00
SachaG
6201b55837
insertableBy -> canCreate
2018-06-22 20:57:31 +09:00
SachaG
50fba6b0a3
viewableBy -> canRead
2018-06-22 20:55:22 +09:00
Apollinaire
ac0a875c3a
remove backwards comp. from function name change and add new names to...
...
all instances of functions Users.can... in the whole code
2018-06-21 14:27:20 +02:00
Apollinaire
8bfb9e8966
Handle openCRUD api and change function names
2018-06-21 11:02:18 +02:00
Apollinaire
b610856a8e
viewableBy, editableBy, insertableBy accept arrays of functions and...
...
strings
2018-06-20 17:13:50 +02:00
SachaG
d8b09a396c
Fix users mutations
2018-06-20 10:24:15 +09:00
SachaG
2b61d31ccb
Merge branch 'master' into devel
...
# Conflicts:
# packages/vulcan-users/lib/server/on_create_user.js
2018-06-16 10:16:09 +09:00
SachaG
7455d7b21b
Add debug statements and fix #2001
2018-06-16 08:56:44 +09:00
SachaG
51acfa7ffc
Migrate new callbacks to new single argument API
2018-06-15 10:18:20 +09:00
SachaG
905bacbe88
Update permissions
2018-06-14 17:45:02 +09:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
SachaG
f3c1f7bf31
isolate accounts-base dependency
2018-06-10 11:39:18 +09:00
SachaG
ad1f47ef73
Make debug email routes work with new APIs
2018-06-06 11:39:04 +09:00
SachaG
a532dab9b7
singleInputTemplate should use selectorUniqueInputTemplate
2018-06-06 11:00:53 +09:00
SachaG
1d3921287c
Refactored GraphQL schema generation code to use new GraphQL templates
2018-06-05 10:04:20 +09:00
SachaG
96eab44309
Start CRUD renaming
2018-06-02 18:49:53 +09:00
SachaG
a5a43d2f89
Get locale from user
2018-05-10 17:57:12 +09:00
SachaG
c78cf47e85
Merge branch 'devel' into i18n2
2018-05-10 17:49:46 +09:00
SachaG
9ab1c0f808
Remove bio, karma, and website user fields
2018-05-10 17:49:32 +09:00
SachaG
af666027c3
Add locale field to user schema; change it when setLocale is called on client
2018-05-10 17:48:06 +09:00
SachaG
f7da9108f7
Use getFormType(); make user.services object viewable to owner only; clean up Datatable props
2018-03-22 16:54:50 +09:00