Skip to content

bug: "Local" auth_setting accepted by CLI but crashes on TSC call #434

Description

@jacalata

Problem

tabcmd Classic accepts --auth-type Local (and Local in the CSV auth column).

tabcmd 2 includes "Local" in its auth_types allowlist so the argument is accepted, but TSC.UserItem.Auth has no Local value. When server.users.add is called, TSC raises a ValueError.

Expected behavior

--auth-type Local should work. The correct mapping is either to TSC.UserItem.Auth.ServerDefault (since Local is the server-default auth method) or the value should be removed from the accepted list with a clear error message explaining that Local auth is not a valid auth-type for the users endpoint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions