Changed wording, PR feedback

This commit is contained in:
Emma Garland
2021-03-12 15:21:56 +00:00
parent 9e867eeeef
commit 8535a2915c
2 changed files with 2 additions and 25 deletions

View File

@@ -237,7 +237,7 @@ namespace Umbraco.Cms.Core.Models.Mapping
var userRoles = username.IsNullOrWhiteSpace() ? null : _memberService.GetAllRoles(username);
// create a dictionary of all roles (except internal roles) + "false"
//TODO: use MembersRoleStore
//TODO: use member role manager instead
var result = _memberGroupService.GetAll()
.Select(x => x.Name)
// if a role starts with __umbracoRole we won't show it as it's an internal role used for public access