Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Nov 21, 2024
1 parent 0962ed1 commit ceddad4
Show file tree
Hide file tree
Showing 7 changed files with 1,841 additions and 1,098 deletions.
50 changes: 25 additions & 25 deletions packages/services/api/src/modules/auth/lib/authz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -322,35 +322,35 @@ function schemaCheckOrPublishIdentity(
* This is the place to do so.
*/
const actionDefinitions = {
'organization:describe': defaultOrgIdentity,
'organization:modifySlug': defaultOrgIdentity,
'organization:delete': defaultOrgIdentity,
'gitHubIntegration:modify': defaultOrgIdentity,
'slackIntegration:modify': defaultOrgIdentity,
'oidc:modify': defaultOrgIdentity,
'support:manageTickets': defaultOrgIdentity,
'billing:describe': defaultOrgIdentity,
'billing:update': defaultOrgIdentity,
'organization:describe': defaultOrgIdentity, // done
'organization:modifySlug': defaultOrgIdentity, // done
'organization:delete': defaultOrgIdentity, // done
'gitHubIntegration:modify': defaultOrgIdentity, // done
'slackIntegration:modify': defaultOrgIdentity, // done
'oidc:modify': defaultOrgIdentity, // done
'support:manageTickets': defaultOrgIdentity, // done
'billing:describe': defaultOrgIdentity, // done
'billing:update': defaultOrgIdentity, // done
'targetAccessToken:modify': defaultTargetIdentity,
'cdnAccessToken:modify': defaultTargetIdentity,
'member:describe': defaultOrgIdentity,
'member:assignRole': defaultOrgIdentity,
'member:modifyRole': defaultOrgIdentity,
'member:removeMember': defaultOrgIdentity,
'member:manageInvites': defaultOrgIdentity,
'project:create': defaultOrgIdentity,
'project:describe': defaultProjectIdentity,
'project:delete': defaultProjectIdentity,
'project:modifySettings': defaultProjectIdentity,
'member:describe': defaultOrgIdentity, // done
'member:assignRole': defaultOrgIdentity, // done
'member:modifyRole': defaultOrgIdentity, // done
'member:removeMember': defaultOrgIdentity, // done
'member:manageInvites': defaultOrgIdentity, // done
'project:create': defaultOrgIdentity, // done
'project:describe': defaultProjectIdentity, // done
'project:delete': defaultProjectIdentity, // done
'project:modifySettings': defaultProjectIdentity, // done
'alert:modify': defaultProjectIdentity,
'schemaLinting:modifyOrganizationRules': defaultOrgIdentity,
'schemaLinting:modifyOrganizationRules': defaultOrgIdentity, // done
'schemaLinting:modifyProjectRules': defaultProjectIdentity,
'target:create': defaultProjectIdentity,
'target:delete': defaultTargetIdentity,
'target:modifySettings': defaultTargetIdentity,
'laboratory:describe': defaultTargetIdentity,
'laboratory:modify': defaultTargetIdentity,
'appDeployment:describe': defaultTargetIdentity,
'target:create': defaultProjectIdentity, // done
'target:delete': defaultTargetIdentity, // done
'target:modifySettings': defaultTargetIdentity, // done
'laboratory:describe': defaultTargetIdentity, // done
'laboratory:modify': defaultTargetIdentity, // done
'appDeployment:describe': defaultTargetIdentity, // done
'appDeployment:create': defaultAppDeploymentIdentity,
'appDeployment:publish': defaultAppDeploymentIdentity,
'appDeployment:retire': defaultAppDeploymentIdentity,
Expand Down
Loading

0 comments on commit ceddad4

Please sign in to comment.