Skip to content
Snippets Groups Projects
Select Git revision
1 result

ipahbacrule.py

Blame
    • Rafael Guterres Jeffman's avatar
      0cebb3e2
      hbacrule: Fix member management idempotence issues. · 0cebb3e2
      Rafael Guterres Jeffman authored
      Members of hbacrule must be compared in a case insensitive manner.
      This patch fixes comparation of member parameters against existing
      members by converting parameters to lowercase.
      
      Also, there were some cases where a change with an empty set of members
      was issued to IPA API, leading to a result of 'changed: yes' when
      'changed: no' was expected. The fix involved a refactoring of the
      member management code.
      0cebb3e2
      History
      hbacrule: Fix member management idempotence issues.
      Rafael Guterres Jeffman authored
      Members of hbacrule must be compared in a case insensitive manner.
      This patch fixes comparation of member parameters against existing
      members by converting parameters to lowercase.
      
      Also, there were some cases where a change with an empty set of members
      was issued to IPA API, leading to a result of 'changed: yes' when
      'changed: no' was expected. The fix involved a refactoring of the
      member management code.