mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Stop calling driver on update if group is not the same
This commit is contained in:
@@ -75,6 +75,10 @@ namespace Orchard.ContentManagement.Drivers {
|
||||
if(String.IsNullOrEmpty(location) || location == "-") {
|
||||
return editor;
|
||||
}
|
||||
|
||||
if (editor.GetGroup() != context.GroupId) {
|
||||
return editor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user