Skip to content

Commit

Permalink
Container SSH permission node
Browse files Browse the repository at this point in the history
  • Loading branch information
robjmorrissey committed Nov 9, 2022
1 parent af1fe38 commit 3460ae7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export enum PROJECT_PERMISSION {
READ_BILLING = 'read_billing',
READ_GATEWAYS = 'read_gateways',
DELETE_REGISTRY_IMAGES = 'delete_registry_images',
CONTAINER_SSH = 'container_ssh',
}

export const permissionsMap = {
Expand Down Expand Up @@ -90,6 +91,7 @@ export const permissionsMap = {
[PROJECT_PERMISSION.READ_BILLING]: 1n << 42n,
[PROJECT_PERMISSION.READ_GATEWAYS]: 1n << 43n,
[PROJECT_PERMISSION.DELETE_REGISTRY_IMAGES]: 1n << 44n,
[PROJECT_PERMISSION.CONTAINER_SSH]: 1n << 45n,
};

export const BROAD_PERMISSIONS_MAP = {
Expand All @@ -114,7 +116,8 @@ export const BROAD_PERMISSIONS_MAP = {
permissionsMap.read_deployments |
permissionsMap.rollout |
permissionsMap.delete_gateway |
permissionsMap.get_internal_domain,
permissionsMap.get_internal_domain |
permissionsMap.container_ssh,
MANAGE_PIPE:
permissionsMap.create_room |
permissionsMap.delete_room |
Expand Down

1 comment on commit 3460ae7

@vercel
Copy link

@vercel vercel bot commented on 3460ae7 Nov 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hop-js – ./

js.hop.io
hop-js-onehop.vercel.app
hop-js-git-master-onehop.vercel.app
hop-js.vercel.app

Please sign in to comment.