Commit graph

14 commits

Author SHA1 Message Date
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
SachaG
7efcb54d16 Field permission check should always succeed when field is mutable by guests 2018-09-04 09:27:55 +09:00
SachaG
a388e1663f Renaming 2018-08-29 20:36:36 +09:00
SachaG
fa6709109e Simplify/fix permissions code 2018-08-20 15:21:02 +09:00
SachaG
bb80001056 Fix eslint issues 2018-06-30 11:34:17 +02: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
905bacbe88 Update permissions 2018-06-14 17:45:02 +09:00
SachaG
5b91dc834c Clean up vulcan:users package directory structure 2018-02-17 11:17:07 +09:00
Renamed from packages/vulcan-users/lib/permissions.js (Browse further)