<代码>EPiServer. Security. PrincipalInfo.HasEditorAccess和EPiServer. Security. PrincipalInfo.HasEditAccess
之间有何区别?
/Alexander
<代码>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 网上查阅,因此,我的猜测是,只能让用户在纸张上享有权利,并且将其排除在全编辑之外。
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 ...
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 ...
I ve installed an EPiServer 6 site locally and it is running fine in IIS, but when I open it as a solution in Visual Studio 2008 and run it via the built in development server, the site center ...
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 ...
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 ...
I ve got a [PageDefinitionTypePlugIn] PropertyString (it s a dropdownlist), and I d like to be able to detect what it s parent page is. Generally, Global.EPDataFactory.CurrentPage works fine to ...
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 ...
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(...