Merge pull request #12822 from appwrite/feat-notification-sdk-fix

Update notification authentication to require ADMIN role and restrict…
This commit is contained in:
Damodar Lohani authored and GitHub committed 2026-07-09 06:44:37 +05:45
commit 4ca7c203c0
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -335,7 +335,7 @@ return [
'tests' => true,
'optional' => false,
'icon' => '',
'platforms' => ['client', 'server', 'console'],
'platforms' => ['console'],
],
'advisor' => [
'key' => 'advisor',
@@ -37,7 +37,7 @@ class Update extends Action
group: null,
name: 'update',
description: '/docs/references/notifications/update-notification.md',
auth: [AuthType::SESSION, AuthType::JWT],
auth: [AuthType::ADMIN],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,
@@ -39,7 +39,7 @@ class XList extends Action
group: null,
name: 'list',
description: '/docs/references/notifications/list-notifications.md',
auth: [AuthType::SESSION, AuthType::JWT],
auth: [AuthType::ADMIN],
responses: [
new SDKResponse(
code: Response::STATUS_CODE_OK,