Right now, the constraints and reactions run for all policies, even those that are disabled, such as the Example policy that comes bundled with the module. Only those that are enabled should be processed.

Comments

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new2.36 KB

Attached patch adds a new method, enabled_policies(), and uses that when findig the policies that need to be processed.

erikwebb’s picture

Status: Needs review » Fixed
mrfelton’s picture

Status: Fixed » Needs review
StatusFileSize
new865 bytes

Revised version.

Status: Needs review » Needs work

The last submitted patch, 1923794.2-password_policy-disabled.patch, failed testing.

erikwebb’s picture

Status: Needs work » Needs review
StatusFileSize
new2.17 KB

Since my commit already went in, this is probably the patch you wanted.

mrfelton’s picture

Status: Needs review » Reviewed & tested by the community

Exactly

erikwebb’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.