mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Adds Namespace UI to Access Control - Also adds two step buttons to other Access Control pages --------- Co-authored-by: Phil Renaud <phil@riotindustries.com>
15 lines
407 B
JavaScript
15 lines
407 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import AbstractAbility from './abstract';
|
|
import { alias } from '@ember/object/computed';
|
|
|
|
export default class Namespace extends AbstractAbility {
|
|
@alias('selfTokenIsManagement') canList;
|
|
@alias('selfTokenIsManagement') canUpdate;
|
|
@alias('selfTokenIsManagement') canWrite;
|
|
@alias('selfTokenIsManagement') canDestroy;
|
|
}
|