strapi-plugin-notifier 1.0.0 → 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.
- package/dist/server/index.js +3 -3
- package/dist/server/index.mjs +3 -3
- package/package.json +2 -1
package/dist/server/index.js
CHANGED
|
@@ -438,19 +438,19 @@ const settings = {
|
|
|
438
438
|
method: "GET",
|
|
439
439
|
path: "/settings",
|
|
440
440
|
handler: "settings.find",
|
|
441
|
-
config: { policies: ["admin::
|
|
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::
|
|
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::
|
|
453
|
+
config: { policies: ["admin::isAuthenticatedAdmin"] }
|
|
454
454
|
}
|
|
455
455
|
]
|
|
456
456
|
};
|
package/dist/server/index.mjs
CHANGED
|
@@ -437,19 +437,19 @@ const settings = {
|
|
|
437
437
|
method: "GET",
|
|
438
438
|
path: "/settings",
|
|
439
439
|
handler: "settings.find",
|
|
440
|
-
config: { policies: ["admin::
|
|
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::
|
|
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::
|
|
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.
|
|
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",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"source": "./server/src/index.ts",
|
|
77
77
|
"strapi": {
|
|
78
78
|
"kind": "plugin",
|
|
79
|
+
"name": "notifier",
|
|
79
80
|
"displayName": "Notifier",
|
|
80
81
|
"description": "A highly configurable notification inbox plugin for the Strapi v5 admin panel"
|
|
81
82
|
},
|