diff --git a/manila_ui/dashboards/utils.py b/manila_ui/dashboards/utils.py index a1281c40..7d03908f 100644 --- a/manila_ui/dashboards/utils.py +++ b/manila_ui/dashboards/utils.py @@ -86,6 +86,7 @@ def metadata_to_str(metadata, meta_visible_limit=4, text_length_limit=25): if len(k) > text_length_limit: k_shortenned = k[:text_length_limit] + '...' v = metadata[k] + v = v if isinstance(v, str) else str(v) if len(v) > text_length_limit: v = v[:text_length_limit] + '...' meta.append("%s = %s" % (html_escape(k_shortenned), html_escape(v))) diff --git a/releasenotes/notes/bug-2004165-fix-type-listing-when-rbac-enabled-c01f363dfa574b9b.yaml b/releasenotes/notes/bug-2004165-fix-type-listing-when-rbac-enabled-c01f363dfa574b9b.yaml new file mode 100644 index 00000000..8d54d19f --- /dev/null +++ b/releasenotes/notes/bug-2004165-fix-type-listing-when-rbac-enabled-c01f363dfa574b9b.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixed an issue while trying to load share types that had boolean extra + specs when RBAC was enabled. For more details, please refer to + `Launchpad bug `_