def METHOD_NAME(group: PropertyGroup, name: str) -> Property:
    """
    Denies a property to a group.
    :param group: a group
    :param name: the name of the property
    :return: created or changed property object
    """
    group.property_grants[name] = False
    return group.properties[name]