48a6048 Copy-paste error in permssions plugin, CID 323649

Authored and Committed by cheimes 5 years ago
    Copy-paste error in permssions plugin, CID 323649
    
    Address a bug in the code block for attributeLevelRights for old clients.
    The backward compatibility code for deprecated options was not triggered,
    because the new name was checked against wrong dict.
    
    Coverity Scan issue 323649, Copy-paste error
    
       The copied code will not have its intended effect.
       In postprocess_result: A copied piece of code is inconsistent with the
       original (CWE-398)
    
    See: Fixes: https://pagure.io/freeipa/issue/7753
    Signed-off-by: Christian Heimes <cheimes@redhat.com>
    Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>