From 877f1b3507b9ac3eae5d29f455003154511c3cd3 Mon Sep 17 00:00:00 2001 From: Sebastien Ros Date: Wed, 14 Sep 2011 15:14:49 -0700 Subject: [PATCH] Removing old comment --HG-- branch : 1.x --- src/Orchard.Web/Core/Contents/Permissions.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Orchard.Web/Core/Contents/Permissions.cs b/src/Orchard.Web/Core/Contents/Permissions.cs index 2c1cdac1e..035421177 100644 --- a/src/Orchard.Web/Core/Contents/Permissions.cs +++ b/src/Orchard.Web/Core/Contents/Permissions.cs @@ -6,11 +6,7 @@ namespace Orchard.Core.Contents { public class Permissions : IPermissionProvider { // Note - in code you should demand PublishContent, EditContent, or DeleteContent - // Do not demand the "Own" variation - those are applied automatically when you demand the main three - - // Also - the internal name EditContent is used instead of EditOthersContent - // because demanding "EditContent" is correct and looks right, - // but demanding "EditOthersContent" looks wrong so wasn't used when it should have been + // Do not demand the "Own" variations - those are applied automatically when you demand the main ones public static readonly Permission PublishContent = new Permission { Description = "Publish or unpublish content for others", Name = "PublishContent" }; public static readonly Permission PublishOwnContent = new Permission { Description = "Publish or unpublish own content", Name = "PublishOwnContent", ImpliedBy = new[] { PublishContent } };