Skip to content

Commit 14bfc72

Browse files
authored
feat: add realtime_config_read and realtime_config_write permissions (#103)
1 parent 774af93 commit 14bfc72

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supabase/shared-types",
3-
"version": "0.1.84",
3+
"version": "0.1.85",
44
"description": "Shared Types for Supabase",
55
"scripts": {
66
"lint": "eslint . --ext .ts,.tsx",

src/permissions.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,14 @@ export const FgaPermissions = {
281281
id: 'project_snippets_write',
282282
title: 'Manage project code snippets',
283283
},
284+
REALTIME_CONFIG_READ: {
285+
id: 'realtime_config_read',
286+
title: 'Read project realtime configuration',
287+
},
288+
REALTIME_CONFIG_WRITE: {
289+
id: 'realtime_config_write',
290+
title: 'Manage project realtime configuration',
291+
},
284292
STORAGE_READ: {
285293
id: 'storage_read',
286294
title: 'Read project file storage',

0 commit comments

Comments
 (0)