mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Adding some auth checks in content CRUD (from Orchard.Pages)
--HG-- branch : dev
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Orchard.Core.Contents {
|
||||
}
|
||||
|
||||
public IEnumerable<Permission> GetPermissions() {
|
||||
return new Permission[] {
|
||||
return new [] {
|
||||
EditContent,
|
||||
EditOthersContent,
|
||||
PublishContent,
|
||||
|
Reference in New Issue
Block a user