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 |
|
soupette
|
11afd28f35
|
Allow name edition in CE
Signed-off-by: soupette <cyril.lpz@gmail.com>
|
2020-07-17 12:37:21 +02:00 |
|
Pierre Noël
|
c73aadbed5
|
add batch delete for users
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-16 12:57:54 +02:00 |
|
Alexandre Bodin
|
8d92bf8a0a
|
Add min validator
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-09 18:10:16 +02:00 |
|
Convly
|
11ba971302
|
Rework policy handling, add util to create policy factories, allow array declaration for hasPermissions
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:48:16 +02:00 |
|
Convly
|
b3f602d207
|
Rework policies resolving (allow policy generators) / Add hasPermissions policy
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 11:48:16 +02:00 |
|
Pierre Noël
|
96c68df220
|
simplify validator
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:47:46 +02:00 |
|
Pierre Noël
|
4d4c7678c0
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:47:46 +02:00 |
|
Pierre Noël
|
f5a0308d5c
|
filter instead of slice
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:47:45 +02:00 |
|
Pierre Noël
|
d6536ba556
|
handle fields null for delete perm
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:47:45 +02:00 |
|
Pierre Noël
|
b6a5e78fe3
|
fix bad nesting
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:47:19 +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
|
8598cee8d0
|
fourth refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:52 +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
|
6ab7669365
|
rename plugins::content-manager.create to plugins::content-manager.explorer.create and others
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:51 +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 |
|
Pierre Noël
|
3b8cab0621
|
add conditions logic for author/editor
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:09:50 +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
|
ef94229d81
|
Add Condition Provider & Permissions Engine
|
2020-07-08 11:05:49 +02:00 |
|
Pierre Noël
|
3aec039698
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:09 +02:00 |
|
Pierre Noël
|
91a7f1a6cb
|
remove use of conditions inside actions
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:09 +02:00 |
|
Pierre Noël
|
42e3b64689
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:08 +02:00 |
|
Pierre Noël
|
e078c0b022
|
rename permissions to actions, inverted params of provider.get, separated formatter, add possibility to not specigy pluginName for ::application
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:07 +02:00 |
|
Pierre Noël
|
707746ef45
|
refacto
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|
Pierre Noël
|
ae0dcb9745
|
add route GET /admin/permissions
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +02:00 |
|
Pierre Noël
|
5fffffa72d
|
add permission registry provider
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 11:05:06 +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
|
65f0e7e3f3
|
Use custom type for strapiID & move it to strapi-utils
|
2020-07-08 11:04:21 +02:00 |
|
Convly
|
483457cafd
|
Add GET /admin/users/:id route
|
2020-07-08 11:04:21 +02:00 |
|
Convly
|
ede7fd0b90
|
Add custom strapiID type to yup
|
2020-07-08 11:04:20 +02:00 |
|
Convly
|
6897cbf6ad
|
Add update user route in the user api
|
2020-07-08 11:04:20 +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 |
|
Pierre Noël
|
9d431ee8ff
|
add single delete + refacto batch-delete
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:58:07 +02:00 |
|
Pierre Noël
|
308beddb24
|
add DELETE /admin/roles
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:58:07 +02:00 |
|
Alexandre Bodin
|
da35c122b4
|
Add reset password API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:57:20 +02:00 |
|
Alexandre Bodin
|
88ccc4a111
|
Add forgot-password API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:57:20 +02:00 |
|
Alexandre Bodin
|
7a056c2f45
|
Add admin registeration API
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:53:19 +02:00 |
|
Pierre Noël
|
abcaa7f831
|
add PUT /admin/roles/:id
Signed-off-by: Pierre Noël <petersg83@gmail.com>
|
2020-07-08 10:51:46 +02:00 |
|
Alexandre Bodin
|
252bb3afe3
|
Remove email update of admin during test that break next tests
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:51:03 +02:00 |
|
Alexandre Bodin
|
851ba201ac
|
Add /users/me routes
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:51:01 +02:00 |
|
Alexandre Bodin
|
2d55f281da
|
Remove role min limit to make test functional
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:07 +02:00 |
|
Alexandre Bodin
|
9ecd81a122
|
Add QueryError and remove useless code
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:05 +02:00 |
|
Alexandre Bodin
|
a841400f85
|
Add register route
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
|
2020-07-08 10:45:03 +02:00 |
|
Convly
|
40089ed4aa
|
Add e2e tests, fix validation for mongoose, update services
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:08 +02:00 |
|
Convly
|
8b4db69e8c
|
Add schema validation for POST /admin/users
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
|
2020-07-08 10:38:02 +02:00 |
|