16973: Rename content permissions

--HG--
branch : dev
This commit is contained in:
Suha Can
2010-12-08 13:21:32 -08:00
parent 43b9dbf74f
commit b3f463fdc6
12 changed files with 57 additions and 59 deletions

View File

@@ -94,11 +94,11 @@ namespace Orchard.Specs.Bindings {
private static Permission GetPermissionForAction(string action) {
switch ( action ) {
case "publish":
return Permissions.PublishContent;
return Permissions.PublishOthersContent;
case "edit":
return Permissions.EditContent;
return Permissions.EditOthersContent;
case "delete":
return Permissions.DeleteContent;
return Permissions.DeleteOthersContent;
default:
return null;
}