2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2020-11-03 12:01:46 -05:00
|
|
|
import Component from '@glimmer/component';
|
2022-06-20 12:28:13 -04:00
|
|
|
import { action } from '@ember/object';
|
2020-11-03 12:01:46 -05:00
|
|
|
|
|
|
|
|
export default class FormRoleGrantsComponent extends Component {
|
2022-06-20 12:28:13 -04:00
|
|
|
// =actions
|
2020-11-03 12:01:46 -05:00
|
|
|
|
2022-06-20 12:28:13 -04:00
|
|
|
@action
|
|
|
|
|
updateGrantScopeID(id) {
|
|
|
|
|
this.args.model.grant_scope_id = id;
|
2020-11-03 12:01:46 -05:00
|
|
|
}
|
|
|
|
|
}
|