You are here

function paranoia_permissions_submit in Paranoia 7

Same name and namespace in other branches
  1. 8 paranoia.module \paranoia_permissions_submit()

Remove extremely-risky permissions from any role.

1 string reference to 'paranoia_permissions_submit'
paranoia_form_user_admin_permissions_alter in ./paranoia.module
Implements hook_form_FORM_ID_alter().

File

./paranoia.module, line 192
Paranoia module file. Provides various extra security features.

Code

function paranoia_permissions_submit($form, &$form_state) {
  _paranoia_remove_risky_permissions();
}