diff --git a/x-pack/plugins/spaces/public/management/edit_space/edit_space_features_tab.tsx b/x-pack/plugins/spaces/public/management/edit_space/edit_space_features_tab.tsx index eacb29c1a098d..f5bfbe79ec2d4 100644 --- a/x-pack/plugins/spaces/public/management/edit_space/edit_space_features_tab.tsx +++ b/x-pack/plugins/spaces/public/management/edit_space/edit_space_features_tab.tsx @@ -25,7 +25,7 @@ interface Props { export const EditSpaceEnabledFeatures: FC = ({ features, space, onChange }) => { const { capabilities, getUrlForApp } = useEditSpaceServices(); - const canManageRoles = capabilities.management?.security?.roles === true; + const canManageRoles = capabilities.roles?.save === true; if (!features) { return null; @@ -59,8 +59,8 @@ export const EditSpaceEnabledFeatures: FC = ({ features, space, onChange ) : ( ), }}