diff --git a/ui/app/components/policy-editor.js b/ui/app/components/policy-editor.js
index 0fcbb0909..9029efbfb 100644
--- a/ui/app/components/policy-editor.js
+++ b/ui/app/components/policy-editor.js
@@ -19,6 +19,10 @@ export default class PolicyEditorComponent extends Component {
this.policy.set('rules', value);
}
+ @action updatePolicyName({ target: { value } }) {
+ this.policy.set('name', value);
+ }
+
@action async save(e) {
if (e instanceof Event) {
e.preventDefault(); // code-mirror "command+enter" submits the form, but doesnt have a preventDefault()
diff --git a/ui/app/components/role-editor.hbs b/ui/app/components/role-editor.hbs
index e34eb5eca..4eb18c126 100644
--- a/ui/app/components/role-editor.hbs
+++ b/ui/app/components/role-editor.hbs
@@ -4,18 +4,15 @@
~}}