mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
16973: Rename content permissions
--HG-- branch : dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user