]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: create directive for AuthStorage service
authorNgwa Sedrick Meh <nsedrick101@gmail.com>
Mon, 26 Apr 2021 20:17:08 +0000 (21:17 +0100)
committerNgwa Sedrick Meh <nsedrick101@gmail.com>
Mon, 12 Jul 2021 12:47:01 +0000 (13:47 +0100)
commit8f809bd95bf5e48d9e55981430c50cab3012cb3c
tree48f9a504f5dea66d887d58e47efac1ff3cf82ee5
parent3e2c8e94fb9fb8421a08ca425b14833a981565a6
mgr/dashboard: create directive for AuthStorage service

This commit adds a directive that can be used to conditionally display elements based on authorization/scopes criteria

Fixes: https://tracker.ceph.com/issues/47355
Signed-off-by: Ngwa Sedrick Meh <nsedrick101@gmail.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html
src/pybind/mgr/dashboard/frontend/src/app/shared/directives/auth-storage.directive.spec.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/directives/auth-storage.directive.ts [new file with mode: 0644]
src/pybind/mgr/dashboard/frontend/src/app/shared/directives/directives.module.ts