示例#1
0
文件: tags.py 项目: WennySoft/checkmk
def is_builtin(ident: str) -> bool:
    """Verify if a tag group is a built-in"""
    tag_config = BuiltinTagConfig()
    return tag_config.tag_group_exists(ident)
示例#2
0
文件: tags.py 项目: m3rlinux/checkmk
def is_builtin(ident: str) -> bool:
    """Verify if a tag group is a built-in"""
    if user:
        user.need_permission("wato.hosttags")
    tag_config = BuiltinTagConfig()
    return tag_config.tag_group_exists(ident)