English 中文(简体)
1. 平等与否
原标题:Difference between HasEditorAccess and HasEditAccess?

<代码>EPiServer. Security. PrincipalInfo.HasEditorAccess和EPiServer. Security. PrincipalInfo.HasEditAccess之间有何区别?

/Alexander

最佳回答

在反省法中,我看到:

private static readonly string _editorPath = UriSupport.ResolveUrlFromUIBySettings("Editor/");
private static readonly string _editPath = UriSupport.ResolveUrlFromUIBySettings("edit/");

...

public static bool HasEditAccess
{
  get
  {
    return Current.HasPathAccess(EditPath);
  }
}

public static bool HasEditorAccess
{
  get
  {
    return Current.HasPathAccess(EditorPath);
  }
}

_editorPath resolves to "/episerver/CMS/Editor/", _editPath resolved to "/episerver/CMS/edit/"

看来,HasEditorAccess只在财产Xhtml 网上查阅,因此,我的猜测是,只能让用户在纸张上享有权利,并且将其排除在全编辑之外。

问题回答

暂无回答




相关问题
pasteHTML removes markup

I am writing a plugin to an old IE-only WYSIWYG-editor which resides in an old CMS. I ve created a plugin that opens an popup where the user can enter the url of an youtube clip. The popup then ...

What are the steps to creating a new EPiServer Project

How do you go about setting up a new EPiServer website? I can t seem to get from an empty visual studio project to a deployed website without having to fix all kinds of file path and referencing ...

Setting up a new EPiServer 6 project with source control

I want to end up with a single VS project/solution that I can check in to source control, that any other developer in the office can simply check out and run, and that I can deploy without having to ...

Search Server 2010 - reference error

Im running Search Server 2010 from a virtual machine and it works good so far. On my development machine (win xp 32bit), the thought is to query the search server with a web service. Problem is that ...

Development environment for ASP.NET with EpiServer

At our company we are going to develop more for the Windows platform than we have done up until now. As this scale of Windows development is new to us it would be nice with some feedback from ...

EpiServer : How to Check Whether Page Exists?

Is there a way to gracefully check whether a page exists in EpiServer CMS 5 (given a pageId integer) without having to catch the PageNotFoundException thrown by DataFactory.Instance.GetPage(...

热门标签