mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
committed by
Sebastien Ros
parent
5b294d3106
commit
600dda4a2a
@@ -139,7 +139,13 @@ namespace Orchard.DesignerTools.Services {
|
||||
}
|
||||
|
||||
foreach (var member in members) {
|
||||
if (o is ContentItem && member.Name == "ContentManager"
|
||||
if ((o is ContentItem && (member.Name == "ContentManager"
|
||||
|| member.Name == "Parts"
|
||||
|| member.Name == "Record"
|
||||
|| member.Name == "VersionRecord"
|
||||
|| member.Name == "TypeDefinition"
|
||||
|| member.Name == "TypePartDefinition"
|
||||
|| member.Name == "PartDefinition"))
|
||||
|| o is Delegate
|
||||
|| o is Type
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user