strapi-plugin-notifier 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -438,19 +438,19 @@ const settings = {
438
438
  method: "GET",
439
439
  path: "/settings",
440
440
  handler: "settings.find",
441
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.read"] } }
441
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
442
442
  },
443
443
  {
444
444
  method: "PUT",
445
445
  path: "/settings",
446
446
  handler: "settings.update",
447
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.update"] } }
447
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
448
448
  },
449
449
  {
450
450
  method: "DELETE",
451
451
  path: "/settings",
452
452
  handler: "settings.reset",
453
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.update"] } }
453
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
454
454
  }
455
455
  ]
456
456
  };
@@ -437,19 +437,19 @@ const settings = {
437
437
  method: "GET",
438
438
  path: "/settings",
439
439
  handler: "settings.find",
440
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.read"] } }
440
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
441
441
  },
442
442
  {
443
443
  method: "PUT",
444
444
  path: "/settings",
445
445
  handler: "settings.update",
446
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.update"] } }
446
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
447
447
  },
448
448
  {
449
449
  method: "DELETE",
450
450
  path: "/settings",
451
451
  handler: "settings.reset",
452
- config: { policies: ["admin::hasPermissions"], config: { actions: ["plugin::notifier.settings.update"] } }
452
+ config: { policies: ["admin::isAuthenticatedAdmin"] }
453
453
  }
454
454
  ]
455
455
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-plugin-notifier",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A highly configurable notification inbox plugin for the Strapi v5 admin panel",
5
5
  "keywords": [
6
6
  "strapi",