You are here

function security_review_untrusted_roles in Security Review 6

Same name and namespace in other branches
  1. 7 security_review.inc \security_review_untrusted_roles()

Helper function for user-defined or default unstrusted Drupal roles.

4 calls to security_review_untrusted_roles()
security_review_check_input_formats in ./security_review.inc
Check for formats that do not have HTML filter that can be used by untrusted users.
security_review_check_php_filter in ./security_review.inc
security_review_trusted_roles in ./security_review.inc
Helper function for assumed trusted roles.
security_review_untrusteds_permissions in ./security_review.inc
Helper function collects the permissions untrusted roles have.
2 string references to 'security_review_untrusted_roles'
security_review_settings in ./security_review.module
Module settings form.
security_review_uninstall in ./security_review.install
Implementation of hook_uninstall().

File

./security_review.inc, line 807
Stand-alone security checks and review system.

Code

function security_review_untrusted_roles() {
  $defaults = security_review_default_untrusted_roles();
  $roles = variable_get('security_review_untrusted_roles', $defaults);
  return array_filter($roles);
}