Skip to content

Commit

Permalink
feat: changed otomi-viewer rights
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderMatt committed Sep 29, 2023
1 parent ef7aff7 commit e0c4778
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/gitea/gitea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
Team,
} from '@redkubes/gitea-client-node'
import { doApiCall, waitTillAvailable } from '../../utils'
import { cleanEnv, GITEA_PASSWORD, GITEA_URL, OTOMI_VALUES } from '../../validators'
import { GITEA_PASSWORD, GITEA_URL, OTOMI_VALUES, cleanEnv } from '../../validators'
import { orgName, otomiValuesRepoName, teamNameViewer, username } from '../common'

const env = cleanEnv({
Expand All @@ -29,7 +29,7 @@ const readOnlyTeam: CreateTeamOption = {
...new CreateTeamOption(),
canCreateOrgRepo: false,
name: teamNameViewer,
includesAllRepositories: true,
includesAllRepositories: false,
permission: CreateTeamOption.PermissionEnum.Read,
units: ['repo.code'],
}
Expand Down

0 comments on commit e0c4778

Please sign in to comment.