dependabot[bot]
33634151d4
Bump pluralize from 7.0.0 to 8.0.0 ( #7126 )
...
Bumps [pluralize](https://github.com/blakeembrey/pluralize ) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/blakeembrey/pluralize/releases )
- [Commits](https://github.com/blakeembrey/pluralize/compare/v7.0.0...v8.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-07-25 08:53:05 +02:00
alaoui abdellah
bca8bb662a
style: 📝 Improve error message of file upload by adding an example ( #7111 )
...
Signed-off-by: Abdellah Alaoui <als.abdellah@gmail.com>
2020-07-25 08:45:06 +02:00
Alexandre Bodin
35bae7df57
v3.1.1
2020-07-23 18:53:55 +02:00
Alexandre Bodin
1bbf1bc0dc
v3.1.0
2020-07-21 19:30:45 +02:00
Alexandre BODIN
c2fb4904cd
Merge pull request #6965 from strapi/features/rbac
...
Features/rbac
2020-07-20 19:07:46 +02:00
Alexandre Bodin
62b2192c95
Update license info
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-20 18:40:52 +02:00
Abdón Rodríguez Davila
51d514b042
Removing carets
...
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
2020-07-20 09:46:14 +02:00
Abdón Rodríguez Davila
e34202bae2
Update slugify dependency
...
Signed-off-by: Abdón Rodríguez Davila <a@abdonrd.com>
2020-07-18 19:32:31 +02:00
Alexandre Bodin
6bafa35a36
Merge branch 'releases/3.1.0' into features/rbac
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-18 10:12:40 +02:00
Alexandre Bodin
4d31935716
v3.0.6
2020-07-16 17:03:04 +02:00
Alexandre Bodin
38d67fc873
Fix mongo issues
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 16:07:11 +02:00
Alexandre Bodin
109e41ea1f
Fix e2e tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 13:53:56 +02:00
Alexandre Bodin
1c90614f8b
Fix sanitizeEntity
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:44 +02:00
Alexandre Bodin
cdc9bc2167
Allow multiple args in policies
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:43 +02:00
Alexandre Bodin
44a7e2321d
Update findOne
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:48:42 +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
Convly
36facdfd00
Add new sanitize-entity.js
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:41 +02:00
Convly
20f80b2361
Better permissions-manager.sanitize behavior
...
Forbid empty arrays as fields for permissions (on ability creation)
Differentiate input from output sanitizing
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:38 +02:00
Convly
8b81395171
Fix filename typo
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:17 +02:00
Convly
b5fb5f8509
Add permissions to the content-manager routes
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 11:48:17 +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
Alexandre Bodin
966d9c554f
Move hasDeepFilters to utils
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:36:26 +02:00
Alexandre Bodin
82316bbf3a
Allow or operator and working with bookshelf
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 11:32:44 +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
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
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
bbb1353927
remove hidden contentTypes from permission actions list + fix tests
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 11:05:07 +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
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
248546581f
Accept ids equal to 0 as StrapiID
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
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
Pierre Noël
7f0bb01a07
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:59:36 +02:00
Pierre Noël
970a470034
add tests + make role decription optional + refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:59:34 +02:00
Pierre Noël
86882a4aaa
refacto
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-07-08 10:58:08 +02:00
Convly
651d42dbea
fix PR comments, move pagination logic to the database layer, handle searches
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:50:44 +02:00
Convly
08d121cd2d
Remove useless parseInt from findPageQueryFactory.js
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:49:28 +02:00
Convly
60b24dd3c3
Add GET /admin/users route and new pagination system
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:49:22 +02:00
Alexandre Bodin
919aae2211
Fix unit tests
...
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-07-08 10:21:28 +02:00
Convly
87a50a0231
Use directly getModel instead of fetching all the models
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:21:26 +02:00
Convly
8a69d187d0
Update models attributes & get models from the database manager
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:21:24 +02:00
Convly
1f3506710d
Handle special scenarios where pluginName === 'admin' when retrieving models
...
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-07-08 10:21:16 +02:00
soupette
62a79a5fc0
Created basic routing for the settings
...
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 09:45:28 +02:00
Pierre Noël
950a21469f
add filtering to search route
...
Signed-off-by: Pierre Noël <petersg83@gmail.com>
2020-06-30 15:50:52 +02:00
Alexandre Bodin
eaf40e1ada
v3.0.5
2020-06-23 12:18:00 +02:00
Alexandre Bodin
9ed11a6682
v3.0.4
2020-06-19 09:19:52 +02:00
Alexandre Bodin
c909d7162d
v3.0.3
2020-06-18 19:17:15 +02:00
Boom Lee
a26b4f65a8
Fix node version ( #6482 ) ( #6691 )
2020-06-16 11:32:23 +02:00