Projet

Général

Profil

Révision 95df3862

Ajouté par Florent Torregrosa il y a plus de 10 ans

  • Fix contrib-usage.sh
  • Ignore private files in security review
  • Ignore eclipse's files in git

Voir les différences:

bin/d7-reset-variables.sh
56 56
# 3: administrator
57 57
drush -y en security_review
58 58
drush -y ev "variable_set('security_review_untrusted_roles', array('1'));"
59
# The default method to check settings.php do not work because we include a global and local settings.php
59 60
drush vset security_review_base_url_method include
60 61
# Used to initialise entries in the database schema.
61 62
drush security-review --store
62
# Security review can't check for files permissions on multi_assos if launched within the web interface.
63
drush -y sqlq --db-prefix "UPDATE {security_review} SET skip = '1', skiptime = $current_timestamp, skipuid = '1' WHERE reviewcheck IN ('file_perms');"
64
drush -y sqlq --db-prefix "UPDATE {security_review} SET skip = '0', skiptime = '0', skipuid = NULL WHERE reviewcheck NOT IN ('file_perms');"
63
# file_perms : Security Review can't check for files permissions on multi_assos if launched within the web interface.
64
# private_files : we have chosen a private path in the files repository and Security Review raise errors but this path is secure.
65
drush -y sqlq --db-prefix "UPDATE {security_review} SET skip = '1', skiptime = $current_timestamp, skipuid = '1' WHERE reviewcheck IN ('file_perms', 'private_files');"
66
drush -y sqlq --db-prefix "UPDATE {security_review} SET skip = '0', skiptime = '0', skipuid = NULL WHERE reviewcheck NOT IN ('file_perms', 'private_files');"

Formats disponibles : Unified diff