--- secure_permissions.module.patched 2010-07-22 11:41:33.000000000 -0700
+++ secure_permissions.module 2010-07-22 12:04:23.000000000 -0700
@@ -293,7 +293,7 @@ function secure_permissions_form_user_ad
function secure_permissions_export(&$form_state) {
$form = array();
$form['help'] = array(
- '#value' => t('Copy and paste this output into your data module. The first, HOOK_secure_permissions_roles() defines the roles in use by the site. The second, HOOK_secure_permissions() controls the permissions for the site. You will need to rename these functions to suit your module.'),
+ '#value' => t('The Secure permissions module stores the permissions in a module (file) that is inaccessible through the user interface.
You now need to create and enable that module in 4 easy steps.
- Create directory. cd to /sites/all/modules and issue the command: mkdir secure_permissions_data
- Create 2 empty files. cd to /sites/all/modules/secure_permissions_data and issue the command: touch secure_permissions_data.info secure_permissions_data.module
- Copy data. Copy the text from the fields below into the respective files you just created using the tools of your choice.
- Enable the module. Navigate to admin/build/modules/list and enable your new module.
To change permissions with the module enabled, you must now edit your /sites/all/modules/secure_permissions_data/secure_permissions_data.module file.
After editing the file navigate to /admin/user/secure_permissions/view select 'Load permissions from code' and click 'Save configuration' to update the permissions.
If you desire, you may rename the module; remember to rename all the functions.'),
);
$output = '';
$output .="; \$Id:\$\n";