From 8c9a19d223c1bcd3c570d2f4e8f0374e5e169ab2 Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Sat, 17 Aug 2024 21:45:55 +0800 Subject: [PATCH] implemented all permission locks in UI --- addon/components/modals/group-form.hbs | 7 +- addon/components/modals/policy-form.hbs | 4 +- addon/components/modals/role-form.hbs | 7 +- addon/components/modals/user-form.hbs | 22 +++-- addon/components/permission-picker.hbs | 7 +- addon/components/permission-picker.js | 2 +- addon/components/policy-attacher.hbs | 5 +- addon/components/table/cell/user-name.hbs | 2 +- addon/components/widget/iam-metrics.hbs | 19 ++++ addon/components/widget/iam-metrics.js | 49 ++++++++++ addon/controllers/groups/index.js | 89 ++++++----------- addon/controllers/policies/index.js | 85 ++++++---------- addon/controllers/roles/index.js | 84 ++++++---------- addon/controllers/users/index.js | 96 +++++++------------ addon/engine.js | 14 +++ addon/templates/application.hbs | 8 +- addon/templates/groups/index.hbs | 8 +- addon/templates/home.hbs | 9 +- addon/templates/policies/index.hbs | 6 +- addon/templates/roles/index.hbs | 6 +- addon/templates/users/index.hbs | 8 +- app/components/widget/iam-metrics.js | 1 + index.js | 1 + .../components/widget/iam-metrics-test.js | 26 +++++ translations/en-us.yaml | 8 +- 25 files changed, 298 insertions(+), 275 deletions(-) create mode 100644 addon/components/widget/iam-metrics.hbs create mode 100644 addon/components/widget/iam-metrics.js create mode 100644 app/components/widget/iam-metrics.js create mode 100644 tests/integration/components/widget/iam-metrics-test.js diff --git a/addon/components/modals/group-form.hbs b/addon/components/modals/group-form.hbs index f683010..3947b95 100644 --- a/addon/components/modals/group-form.hbs +++ b/addon/components/modals/group-form.hbs @@ -5,13 +5,13 @@ - +
-