Skip to content

Commit 03bc8bc

Browse files
authored
feat: add functions secret permissions (#100)
* feat: add functions secret permissions * chore: update package lock
1 parent c5a3807 commit 03bc8bc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

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.82",
3+
"version": "0.1.83",
44
"description": "Shared Types for Supabase",
55
"scripts": {
66
"lint": "eslint . --ext .ts,.tsx",

src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ export enum PermissionAction {
2929
DELETE = 'write:Delete',
3030
FUNCTIONS_READ = 'functions:Read',
3131
FUNCTIONS_WRITE = 'functions:Write',
32+
FUNCTIONS_SECRET_READ = 'functions:Secret:Read',
33+
FUNCTIONS_SECRET_WRITE = 'functions:Secret:Write',
3234
INFRA_EXECUTE = 'infra:Execute',
3335
READ = 'read:Read',
3436
SECRETS_READ = 'secrets:Read',

0 commit comments

Comments
 (0)