Commit graph

30 commits

Author SHA1 Message Date
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
905bacbe88 Update permissions 2018-06-14 17:45:02 +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
SachaG
18478041db add editUrl to users schema 2018-03-20 12:48:29 +09:00
SachaG
020bea31df Pass newDocument to edit callbacks 2018-03-19 14:58:31 +09:00
SachaG
6135910ca1 Fix #1933 2018-03-19 14:58:09 +09:00
SachaG
20185cfda3 Move isAdmin init code to callback, fix #1917 2018-03-03 15:04:33 +09:00
SachaG
861e65e641 Refactor connectors code to avoid repeating getSetting 2018-03-03 11:39:56 +09:00
SachaG
270c6b4215 Use connectors and await/async 2018-02-18 15:26:59 +09:00
SachaG
5b91dc834c Clean up vulcan:users package directory structure 2018-02-17 11:17:07 +09:00