Skip to content

Commit

Permalink
Merge branch 'develop' into fix-privilege-self-user
Browse files Browse the repository at this point in the history
  • Loading branch information
Comoque1 authored Oct 31, 2024
2 parents e66c918 + 2e00759 commit 6b5e839
Show file tree
Hide file tree
Showing 122 changed files with 2,626 additions and 1,703 deletions.
109 changes: 0 additions & 109 deletions .github/workflows/build-deploy-k8s-dev-azure.yml

This file was deleted.

108 changes: 0 additions & 108 deletions .github/workflows/build-deploy-k8s-sandbox-azure.yml

This file was deleted.

108 changes: 0 additions & 108 deletions .github/workflows/build-deploy-k8s-test-azure.yml

This file was deleted.

13 changes: 0 additions & 13 deletions graphql-samples/mutations/update/update-space-defaults

This file was deleted.

2 changes: 2 additions & 0 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ import { LookupByNameModule } from '@services/api/lookup-by-name';
import { PlatformHubModule } from '@platform/platform.hub/platform.hub.module';
import { AdminContributorsModule } from '@platform/admin/avatars/admin.avatar.module';
import { InputCreatorModule } from '@services/api/input-creator/input.creator.module';
import { TemplateApplierModule } from '@domain/template/template-applier/template.applier.module';
import { Cipher, EncryptionModule } from '@hedger/nestjs-encryption';
import { AdminUsersModule } from '@platform/admin/users/admin.users.module';

Expand Down Expand Up @@ -293,6 +294,7 @@ import { AdminUsersModule } from '@platform/admin/users/admin.users.module';
WhiteboardIntegrationModule,
FileIntegrationModule,
PlatformSettingsModule,
TemplateApplierModule,
],
controllers: [AppController, SsiCredentialFlowController],
providers: [
Expand Down
3 changes: 2 additions & 1 deletion src/common/enums/authorization.policy.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ export enum AuthorizationPolicyType {
ECOSYSTEM_MODEL = 'ecosystem-model',
VIRTUAL_CONTRIBUTOR = 'virtual-contributor',
SPACE = 'space',
SPACE_DEFAULTS = 'space-defaults',
ACCOUNT = 'account',
DOCUMENT = 'document',
STORAGE_AGGREGATOR = 'storage-aggregator',
STORAGE_BUCKET = 'storage-bucket',
TEMPLATE = 'template',
TEMPLATES_SET = 'templates-set',
TEMPLATES_MANAGER = 'templates-manager',
TEMPLATE_DEFAULT = 'template-default',
CALENDAR = 'calendar',
CALENDAR_EVENT = 'calendar-event',
TIMELINE = 'timeline',
Expand Down
13 changes: 13 additions & 0 deletions src/common/enums/template.default.type.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { registerEnumType } from '@nestjs/graphql';

export enum TemplateDefaultType {
PLATFORM_SPACE = 'platform-space',
PLATFORM_SPACE_TUTORIALS = 'platform-space-tutorials',
PLATFORM_SUBSPACE = 'platform-subspace',
PLATFORM_SUBSPACE_KNOWLEDGE = 'platform-subspace-knowledge',
SPACE_SUBSPACE = 'space-subspace',
}

registerEnumType(TemplateDefaultType, {
name: 'TemplateDefaultType',
});
Loading

0 comments on commit 6b5e839

Please sign in to comment.