Readonly forbid GitHub authorization (#9212)

This commit is contained in:
Anton Alexeyev
2025-06-11 15:28:11 +07:00
committed by GitHub
parent f5f3a3d704
commit de3ed8d643
4 changed files with 19 additions and 5 deletions
+5 -2
View File
@@ -37,7 +37,8 @@ import {
type Hyperlink,
type Markup,
type Ref,
type Timestamp
type Timestamp,
AccountRole
} from '@hcengineering/core'
import { type Person } from '@hcengineering/contact'
@@ -849,12 +850,14 @@ export function createModel (builder: Builder): void {
builder.createDoc(presentation.class.ComponentPointExtension, core.space.Model, {
extension: tracker.extensions.IssueListHeader,
component: github.component.AuthenticationCheck
component: github.component.AuthenticationCheck,
accessLevel: AccountRole.User
})
builder.createDoc(presentation.class.ComponentPointExtension, core.space.Model, {
extension: tracker.extensions.EditIssueHeader,
component: github.component.AuthenticationCheck,
accessLevel: AccountRole.User,
props: {
kind: 'ghost'
}