12 Commits

Author SHA1 Message Date
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
Alexandre Bodin
f6cf06d22c Add notNull validator for edition
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-18 09:02:48 +01:00
Alexandre Bodin
780f2695df Add some more rules
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:08 +01:00
Alexandre Bodin
c7594f5743 Add some default validators for numbers and string
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:07 +01:00
Alexandre Bodin
7eece2bb00 Init entity serivce validators and refactor boom middleware to render errors
Signed-off-by: Alexandre Bodin <bodin.alex@gmail.com>
2020-02-17 15:55:06 +01:00
Alexandre Bodin
864578a0c9 Improve validators 2019-12-24 15:01:03 +01:00
Alexandre Bodin
74d25bb459 Add validators 2019-12-24 14:49:44 +01:00