What does this setting in ACL do?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 Jahre weitere
Hi,

I was just wondering what does the "Admin area. HTML Editor. Manage pictures" setting grant permission to the user when its enabled? I'm not sure, what is it that it allows.

Can someone please throw some light please.
5 Jahre weitere
I search the source code and could not find it used anywhere at the moment
5 Jahre weitere
[email protected] wrote:
Hi,

I was just wondering what does the "Admin area. HTML Editor. Manage pictures" setting grant permission to the user when its enabled? I'm not sure, what is it that it allows.

Can someone please throw some light please.


See the uses for the follwing file and code


~\nopCommerce\src\Presentation\Nop.Web\Areas\Admin\Controllers\JbimagesController.cs(42):  
         if (!_permissionService.Authorize(StandardPermissionProvider.HtmlEditorManagePictures))

~\nopCommerce\src\Presentation\Nop.Web\Areas\Admin\Controllers\RoxyFilemanController.cs(202):    
           if (!_permissionService.Authorize(StandardPermissionProvider.HtmlEditorManagePictures))

  ~\nopCommerce\src\Presentation\Nop.Web\Areas\Admin\Views\Shared\EditorTemplates\RichEditor.cshtml(16):
   var allowRoxyFileman = permissionService.Authorize(StandardPermissionProvider.HtmlEditorManagePictures);
5 Jahre weitere
Oh for some reason my database is setup as HtmlEditor.ManagePictures hence it could not be found ?

public static readonly PermissionRecord HtmlEditorManagePictures = new PermissionRecord { Name = "Admin area. HTML Editor. Manage pictures", SystemName = "HtmlEditor.ManagePictures", Category = "Configuration" };
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.