2024-08-15 10:46:00 -07:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import Controller, { inject as controller } from '@ember/controller';
|
|
|
|
|
|
|
|
|
|
export default class ScopesScopeEditController extends Controller {
|
|
|
|
|
@controller('scopes/scope/index') scopes;
|
2025-06-02 16:20:50 -05:00
|
|
|
|
|
|
|
|
get scopeTypes() {
|
|
|
|
|
return [
|
|
|
|
|
{
|
|
|
|
|
key: 'isGlobal',
|
|
|
|
|
title: 'resources.global.title',
|
|
|
|
|
description: 'resources.global.description',
|
|
|
|
|
doc: 'global',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: 'isOrg',
|
|
|
|
|
title: 'resources.org.title',
|
|
|
|
|
description: 'resources.org.description',
|
|
|
|
|
doc: 'org',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: 'isProject',
|
|
|
|
|
title: 'resources.project.title',
|
|
|
|
|
description: 'resources.project.description',
|
|
|
|
|
doc: 'project',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
key: 'isScope',
|
|
|
|
|
title: 'resources.scope.title',
|
|
|
|
|
description: 'resources.scope.description',
|
|
|
|
|
doc: 'scope',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
}
|
2024-08-15 10:46:00 -07:00
|
|
|
}
|