Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
21 results

ipapermission.py

Blame
    • Thomas Woerner's avatar
      23829c5e
      ipapermission: Fix attrs and drop privilege handling · 23829c5e
      Thomas Woerner authored
      The attrs handling was not complete and did not support to ensure presence
      or absence of attributes with action:member.
      
      The includedattrs and excludedattrs parameters have not been added with
      this change as the use of attrs will automatically set includedattrs and
      excludedattrs. The includedattrs and excludedattrs parameters are only
      usable for managed permissions and duplicating attrs.
      
      The permission module may not handle privileges. An IPA internal only API
      has been used for this. The prvilege variable and all related code paths
      have been removed.
      
      Fixes: #424 ([Permission Handling] Not able to add additional attributes
                   with existing attributes)
      Fixes: #425 ([Permission Handling] Not able to add member privilege while
                   adding permission)
      23829c5e
      History
      ipapermission: Fix attrs and drop privilege handling
      Thomas Woerner authored
      The attrs handling was not complete and did not support to ensure presence
      or absence of attributes with action:member.
      
      The includedattrs and excludedattrs parameters have not been added with
      this change as the use of attrs will automatically set includedattrs and
      excludedattrs. The includedattrs and excludedattrs parameters are only
      usable for managed permissions and duplicating attrs.
      
      The permission module may not handle privileges. An IPA internal only API
      has been used for this. The prvilege variable and all related code paths
      have been removed.
      
      Fixes: #424 ([Permission Handling] Not able to add additional attributes
                   with existing attributes)
      Fixes: #425 ([Permission Handling] Not able to add member privilege while
                   adding permission)