}
});
NavigationItem rolesItem = new NavigationItem(RolesView.VIEW_ID, new ViewFactory() {
public Canvas createView() {
return new RolesView(getGlobalPermissions().contains(Permission.MANAGE_SECURITY));
}
});
return new NavigationSection(SECTION_SECURITY_VIEW_ID, usersItem, rolesItem);
}