Changes as per PR comments from Scott Brady

This commit is contained in:
Emma Garland
2021-03-12 15:05:50 +00:00
parent 8ed67aa14a
commit 9e867eeeef
3 changed files with 5 additions and 34 deletions

View File

@@ -2435,7 +2435,7 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers
.Select(_umbracoMapper.Map<MemberDisplay>)
.ToArray();
//TODO: change to role store
//TODO: change to role manager
var allGroups = _memberGroupService.GetAll().ToArray();
var groups = entry.Rules
.Where(rule => rule.RuleType == Constants.Conventions.PublicAccess.MemberRoleRuleType)