summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-17 20:37:32 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-09-17 20:37:32 +0000
commit893942bb4f0ab6261ea5ea39a5331ab021b392d4 (patch)
tree83c7b4de879c473b93557e168d8383607fe8a222 /modules/node/node.module
parentfb577596044efb049a0ea74c7c74f7f5ebcd91d2 (diff)
downloadbrdo-893942bb4f0ab6261ea5ea39a5331ab021b392d4.tar.gz
brdo-893942bb4f0ab6261ea5ea39a5331ab021b392d4.tar.bz2
#108979 by ewhipple, catch, and sun: Order permissions consistently, keep node type related permissions together.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
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;
}