110 Commits

Author SHA1 Message Date
Alexandre Bodin
2a780ea10a Clear _id now that queries return an id everytime 2019-08-13 17:40:31 +02:00
Alexandre Bodin
3b47457f4f make boostrap functions async only 2019-08-12 15:35:40 +02:00
Alexandre Bodin
f757d4d952 Support relations inside of group creation 2019-07-29 08:15:18 +02:00
Alexandre Bodin
7e11acac32 Fix bugs mongo 2019-07-18 15:49:24 +02:00
Alexandre Bodin
5a21e2f87f Fix updateRole 2019-07-17 14:28:36 +02:00
Alexandre Bodin
ef9ce7d4fa simplify permission duplicate removal 2019-07-17 13:50:07 +02:00
Alexandre Bodin
87d9d85c08 Handle empty permissions in role update 2019-07-17 10:15:22 +02:00
Alexandre Bodin
2befa1cf48 Use primaryKey on delete queries 2019-07-16 23:27:34 +02:00
Alexandre Bodin
928c7f4776 fix create/update role 2019-07-16 20:52:31 +02:00
Alexandre Bodin
56c59c5ae1 Implement deleteMany in query.delete 2019-07-16 20:11:34 +02:00
Alexandre Bodin
1658b48aa0 Refactor users-permissions to use the new strapi.query 2019-07-16 17:23:38 +02:00
ta7sudan
7b3737c90c fix(strapi-plugin-users-permissions): fix when connecting to marketplace error cause app crash 2019-06-17 00:02:27 +08:00
Alexandre Bodin
4a21a75d53 Fix error not ignored getPlugins 2019-06-08 18:50:54 +02:00
Alexandre Bodin
9c2a90246b Fix Role CRUD with users 2019-05-14 12:42:03 +02:00
Alexandre Bodin
a41641bfe4 Add a queries interface to the plugins 2019-04-26 13:40:23 +02:00
Alexandre Bodin
eb7c4534f8 Exports schema.graphql in devmode, load extensions folder and run merge config and overwrites 2019-04-16 09:00:24 +02:00
Alexandre Bodin
9e9ff9907d Refactor strapi load 2019-04-16 08:50:22 +02:00
soupette
a2192c1dec Fix conflicts 2019-04-09 16:01:01 +02:00
soupette
e56e46e030 Split admin and users.
Co-authored-by: lauriejim
2019-04-09 12:09:03 +02:00
Alexandre Bodin
d2db6b633f Mongo + graphql v1 2019-03-21 09:07:36 +01:00
Jim LAURIE
c5f3eb67ce Fix loose permissions with Mongo 2019-03-21 09:07:02 +01:00
Jim LAURIE
cca2ea98dc Fix user count per role on SQL database 2019-03-01 10:52:52 +01:00
Aurélien Georget
5f8b4ae667 Complete funnel 2019-01-23 15:33:30 +01:00
Jim LAURIE
e41948de3f Add setting for production environment 2019-01-09 14:19:39 +01:00
Abdón Rodríguez Davila
df162c1387 Avoid write actions.json if not development environment 2018-12-19 19:42:10 +01:00
Alberto Maturano
8fcbb1978f refactor: Fix misuse of map method
`map` should create a new Array so a `return` is expected inside the
callback param. `forEach` is the corrent method to use for just iterate
over array elements.
2018-11-15 15:51:23 -06:00
Benjamin Devaublanc
507ab8b922 Fix error on fetch permissions
Can't fetch permissions if we have an api that contain a service with no
controllers
2018-10-05 13:07:56 +02:00
cyril lopez
d05f936ff5 Add plugin prefix to plugins routes.
Fixes #1765
2018-10-01 14:29:11 +02:00
Jim LAURIE
eec423a2cd Add confirmation email 2018-08-08 17:57:02 +02:00
Jim LAURIE
bc3e756e6e Fix multi API controller 2018-07-30 10:10:43 +02:00
Aurelsicoko
37b9c2ee4c Remove front-end dependency from marketplace.strapi.io 2018-07-24 19:37:27 +02:00
Aurélien GEORGET
06bcac7ee2
Disconnect projects from marketplace.strapi.io 2018-07-24 18:54:50 +02:00
Kati Frantz
d3ef2f8e3c fetch current actions from database
use results for comparing if new actions have been added to controllers
2018-07-05 09:57:12 +01:00
Johan Baath
1cdb1dfc76 fix clean up of duplicate permissions 2018-05-23 14:25:32 +02:00
Jim LAURIE
0c6f86ce3e
Merge branch 'master' into eslint 2018-05-14 16:13:47 +02:00
Jim Laurie
8cd33563ae Harmonize model templates 2018-05-14 12:05:09 +02:00
cyril lopez
1f019c60c3
Merge branch 'master' into eslint 2018-05-14 11:50:32 +02:00
Aurelsicoko
13209fd3a5 Fixes #1134 2018-05-08 17:54:23 +02:00
Jim LAURIE
c09f5138a2
Merge branch 'master' into eslint 2018-05-07 16:03:35 +02:00
Jim LAURIE
d0b9233b17
Merge branch 'master' into fix/736 2018-05-07 15:27:41 +02:00
Aurelsicoko
451ad266fb Keep first set permissions & remove duplicate 2018-05-03 16:26:57 +02:00
Aurelsicoko
f62c5f52fc Remove duplicate permissions 2018-05-02 11:40:42 +02:00
soupette
68504fbe16 Add eslint to users-permissions backend 2018-04-30 18:26:56 +02:00
Aurelsicoko
dffbf3bbb3 Concat promise to return a single array 2018-04-27 15:48:52 +02:00
Jim Laurie
79ddc27cb1 U&P setup in bookshelf and handle oneToMany relation 2018-04-24 14:29:28 +02:00
Jim Laurie
8191c43ce5 Create tables is not exist instead of log queries 2018-04-23 16:09:01 +02:00
Aurelsicoko
7149cfa36e Avoid badRequest when an API hasn't routes 2018-04-23 14:39:27 +02:00
Aurelsicoko
61fb2dec45 Avoid random restart on permission update 2018-04-23 14:21:24 +02:00
Juampy
32095d08c5 Fix invalid timestamp default values for MySQL 5.7 2018-04-18 19:01:19 +02:00
Jim Laurie
489aefba06 Rename role registered to authenticated 2018-03-14 16:56:12 +01:00