You are here

function paranoia_paranoia_revoke in Paranoia 6

Implementation of hook_paranoia_revoke().

File

./paranoia.module, line 104
Disables PHP block visibility permission and gives status error if a role has this permission. Disables the PHP module. Hides the PHP and paranoia modules from the modules page. Prevents user/1 editing which could give access to abitrary contrib…

Code

function paranoia_paranoia_revoke() {
  return array(
    // block module
    'use PHP for block visibility',
    // content module (in CCK)
    'Use PHP input for field settings (dangerous - grant with care)',
    // webform module
    'use PHP for additional processing',
    // bueditor
    'administer bueditor(execute PHP)',
    // Google Analytics.
    'use PHP for tracking visibility',
  );
}