Adding some auth checks in content CRUD (from Orchard.Pages)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-07-22 15:40:27 -07:00
parent 77e73c70e1
commit 08cc911948
5 changed files with 97 additions and 18 deletions

View File

@@ -19,7 +19,7 @@ namespace Orchard.Core.Contents {
}
public IEnumerable<Permission> GetPermissions() {
return new Permission[] {
return new [] {
EditContent,
EditOthersContent,
PublishContent,