consul/ui/packages/consul-ui/app/models/permission.js

14 lines
286 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Model, { attr } from '@ember-data/model';
export default class Permission extends Model {
@attr('string') Resource;
@attr('string') Segment;
@attr('string') Access;
@attr('boolean') Allow;
}