21 Commits

Author SHA1 Message Date
Pierre Burgy
30ed3985c6
Replace John Doe by Kai Doe (#8738)
Signed-off-by: Pierre Burgy <pierre.burgy@gmail.com>
2020-12-14 16:57:18 +01:00
soupette
3de1a1fe98 Merge branch 'master' of github.com:strapi/strapi into features/application-settings 2020-10-21 14:56:00 +02:00
Pierre Noël
907d6c9d33 refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-10-19 17:01:46 +02:00
soupette
4737b4e275 Merge branch 'master' of github.com:strapi/strapi into features/application-settings 2020-10-09 09:10:28 +02:00
Jean-Sébastien Herbaux
46314a4054
Split init route to init & information endpoints (#8160)
* Split init to init & information endpoints

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add unit tests / Rename controller

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary comment

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-06 11:26:17 +02:00
Jean-Sébastien Herbaux
e77679e7bb
Fix author role for the publish permission action (#8153)
* Prevent Author role to have access to the publish permission in CE

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix CE test on role's permissions update

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix unit tests

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-10-02 18:34:13 +02:00
Convly
a559047e77 Fix e2e and unit tests
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-09-22 17:39:17 +02:00
Pierre Noël
9983d3b44e clean conditions at get and update
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-20 17:40:01 +02:00
Alexandre Bodin
29fcf7c3cd Clean find relation list and tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:42 +02:00
Pierre Noël
1ee5b7f189 fifth refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:10:09 +02:00
Pierre Noël
243c4ccc4e add upload permissions to default roles + second refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:52 +02:00
Pierre Noël
dd88c00514 use new condition format
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:52 +02:00
Pierre Noël
b893501552 first refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:51 +02:00
Pierre Noël
8c1aa2999a fix tests
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:09:51 +02:00
Convly
765d7aaa52 Add check many permissions route/controller / Add userAbility to the context's state / Add isAuthenticatedAdmin.js
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:05:50 +02:00
Convly
598e9b9d93 Fix user controller tests 2020-07-08 11:04:22 +02:00
Convly
d69101427f Fix PR: Refactor user e2e tests, fix domain logic, add user::deleteOne route 2020-07-08 11:04:22 +02:00
Convly
a6c2fab79c Add tests for user controller/service/api
Fix e2e tests, add default role to match .min(1) condition
2020-07-08 11:04:21 +02:00
Convly
65f0e7e3f3 Use custom type for strapiID & move it to strapi-utils 2020-07-08 11:04:21 +02:00
Alexandre Bodin
7346b983c5 Add domain model for permission
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:37 +02:00
Alexandre Bodin
c6e08dcb57 Add assign permission
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:59:37 +02:00