mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-24 10:11:35 +08:00
Correct the method name MediaLibrayServiceExtensions (#7728)
Fixes #7679
This commit is contained in:
@@ -143,7 +143,7 @@ namespace Orchard.MediaLibrary.Services {
|
|||||||
string Combine(string path1, string path2);
|
string Combine(string path1, string path2);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MediaLibrayServiceExtensions {
|
public static class MediaLibraryServiceExtensions {
|
||||||
public static bool CanManageMediaFolder(this IMediaLibraryService service, string folderPath) {
|
public static bool CanManageMediaFolder(this IMediaLibraryService service, string folderPath) {
|
||||||
// The current user can manage a media if he has access to the whole hierarchy
|
// The current user can manage a media if he has access to the whole hierarchy
|
||||||
// or the media is under his personal storage folder.
|
// or the media is under his personal storage folder.
|
||||||
|
|||||||
Reference in New Issue
Block a user