if grant_perms is not None and \
                    user_name.lower() not in set(k.lower() for k in grant_perms):
                if 'grant' in cur_perms['Not Inherited'][user_name]:
                    if __opts__['test'] is True:
                        if 'remove_perms' not in ret['changes']: