Commit 5f3f319
committed
mgr/dashboard: fix roles page for roles without policies
If there is no permission policies attached to a role, it fails the
UI with an exception.
Fixes: https://tracker.ceph.com/issues/64588
Signed-off-by: Nizamudeen A <[email protected]>1 parent b11e6e2 commit 5f3f319
2 files changed
+4
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
846 | 849 | | |
847 | 850 | | |
848 | 851 | | |
| |||
0 commit comments