1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
Christopher Kolstad
6c2af3c6bc
fix: add middleware verifying content type
- By default only accepts 'application/json'
- Routes that need different content-type, can call post or put with
  additional arguments, one per content-type you need to support.
2021-02-11 16:09:42 +01:00
Ivar Conradi Østhus
d01c9d2dac
fix: use airbnb lint rules directly (#583)
This drops usage of finn-eslint rules as they are no
longer maintained.
2020-04-14 22:29:11 +02:00
Benjamin Ludewig
9065c5ee88 feat: Added import & export through stateService #395 2020-02-20 08:34:22 +01:00
Benjamin Ludewig
175208c105 Refactored controllers, moved checkPermission to permission-checker.js middleware 2020-02-20 08:34:19 +01:00
Benjamin Ludewig
b38da68d28 Don't expose user permissions when extendedPermissions is disabled, cleanup controller.js 2020-02-20 08:34:19 +01:00
Benjamin Ludewig
abe4f8cf16 Use full name instead of perms, 403 error message now includes expected permission 2020-02-20 08:34:19 +01:00
Benjamin Ludewig
df7509e381 feature: Add action specific user permissions 2020-02-20 08:34:19 +01:00
ivaosthu
a8de54dd73 chore(modernize): Use base controller for all client controllers 2020-02-20 08:34:17 +01:00
ivaosthu
e285f39bcb chore(modernize): Admin FeatureController 2020-02-20 08:34:17 +01:00
ivaosthu
4a98d718cf chore(modernize): Spin out base class for Controllers 2020-02-20 08:34:17 +01:00