From 893942bb4f0ab6261ea5ea39a5331ab021b392d4 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Wed, 17 Sep 2008 20:37:32 +0000 Subject: #108979 by ewhipple, catch, and sun: Order permissions consistently, keep node type related permissions together. --- modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/node/node.module') diff --git a/modules/node/node.module b/modules/node/node.module index c23410380..e32f6eaa3 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2872,10 +2872,10 @@ function node_list_permissions($type) { // Build standard list of node permissions for this type. $perms["create $type content"] = t('Create new %type_name content.', array('%type_name' => $info->name)); - $perms["delete any $type content"] = t('Delete any %type_name content, regardless of its author.', array('%type_name' => $info->name)); - $perms["delete own $type content"] = t('Delete %type_name content created by the user.', array('%type_name' => $info->name)); $perms["edit own $type content"] = t('Edit %type_name content created by the user.', array('%type_name' => $info->name)); $perms["edit any $type content"] = t('Edit any %type_name content, regardless of its author.', array('%type_name' => $info->name)); + $perms["delete own $type content"] = t('Delete %type_name content created by the user.', array('%type_name' => $info->name)); + $perms["delete any $type content"] = t('Delete any %type_name content, regardless of its author.', array('%type_name' => $info->name)); return $perms; } -- cgit v1.2.3