40 Commits

Author SHA1 Message Date
Alexandre Bodin
09dcea27f1 refactor mongoose queries to match api 2019-07-16 21:24:09 +02:00
Alexandre Bodin
1658b48aa0 Refactor users-permissions to use the new strapi.query 2019-07-16 17:23:38 +02:00
Alexandre Bodin
87857b94be Implement strapi.queries for all models 2019-04-16 09:05:46 +02:00
Alexandre Bodin
3098309369 Use mongoose.find on simple queries for a perf boost 2019-03-26 14:57:02 +01:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Kamal Bennani
e8c92fc3d7 Adapt Services to the new Mongoose API 2019-03-21 09:06:06 +01:00
Jim LAURIE
cca2ea98dc Fix user count per role on SQL database 2019-03-01 10:52:52 +01:00
Aurélien Georget
2115124931 Remove Mongoose warning logs 2019-01-23 16:56:04 +01:00
Jim LAURIE
03c1e04d87 Revert filter PR 2018-12-04 17:05:03 +01:00
Jim LAURIE
00d6284552 Fix fetch user mongoose 2018-11-27 16:44:20 +01:00
Kamal Bennani
0ed9b7643a
Merge where and relation payload 2018-10-28 23:42:22 +01:00
Kamal Bennani
5bdb5c25e0
use stage functions from the relation file 2018-10-28 23:42:22 +01:00
Kamal Bennani
ce534cf568
Take into account user model 2018-10-28 23:42:21 +01:00
Kamal Bennani
f8d844a48a
Update user-permissions query logic for both bookshelf/mongoose 2018-10-28 23:42:18 +01:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
Aurelsicoko
451ad266fb Keep first set permissions & remove duplicate 2018-05-03 16:26:57 +02:00
soupette
68504fbe16 Add eslint to users-permissions backend 2018-04-30 18:26:56 +02:00
Aurelsicoko
8a66873405 Display better error message & lock fields 2018-01-25 18:12:29 +01:00
Aurelsicoko
8f85d85349 Improve roles in database to work with Bookshelf 2018-01-23 18:54:17 +01:00
Aurelsicoko
187f6cb748 Display logs for every missing tables or attributes & update delete/add role feature 2018-01-23 15:38:43 +01:00
Aurelsicoko
a06336cdbb Update permissions from UI in database 2018-01-22 18:19:44 +01:00
Aurelsicoko
9daf29be78 Be able to retrieve role data with populate 2018-01-19 17:57:10 +01:00
Aurelsicoko
fa8976c98f Fix infinite login 2018-01-18 11:13:44 +01:00
Aurelsicoko
4aa28a196e [WIP] Read and update roles & permissions using database 2018-01-17 18:50:12 +01:00
Jim Laurie
2715f2693f Check if token user still exist 2017-12-14 16:12:39 +01:00
Jim Laurie
c7ef225238 Replace id to _id for fetch user mongoose 2017-12-14 15:14:53 +01:00
cyril lopez
59872ac890 Handle backend errors in ctm 2017-12-06 15:11:55 +01:00
cyril lopez
1084e88826 Catch register errors and handle it in front 2017-12-06 12:19:43 +01:00
cyril lopez
642bee0085 Init auth errors 2017-12-06 11:47:39 +01:00
cyril lopez
6478d87a6f Fix conflict 2017-11-30 15:51:19 +01:00
Jim Laurie
0655833da9 Add users count by role 2017-11-30 12:27:04 +01:00
cyril lopez
f923a46177 Fetch policies for EditPage container 2017-11-30 11:07:54 +01:00
Jim Laurie
72d4ebf3a9 Add get policy functions 2017-11-29 18:45:51 +01:00
Jim Laurie
4543fd017d Update user API with queries 2017-11-29 17:09:19 +01:00
Jim Laurie
b633558c6e Use query User fetch fetchAll 2017-11-28 10:51:03 +01:00
cyril lopez
baee801941 Add searchUsers and created mongoose query 2017-11-27 12:19:36 +01:00
Jim Laurie
f10bd4a936 Use db users for login 2017-11-16 14:29:49 +01:00
Jim Laurie
b0a2b61be4 Register new user with hashed password 2017-11-16 14:12:03 +01:00
Jim Laurie
8cf8c24ee7 Load bookshelf plugins models 2017-11-15 17:27:07 +01:00
Jim Laurie
4bd0427ba6 Fix mongoose collection prefix plugin 2017-11-15 16:59:12 +01:00