Skip to content

fix: Support role names and IDs for SSC local user management - #1090

Open
SangameshV wants to merge 1 commit into
dev/v3.xfrom
fix/v3.x/create-local-user-ssc
Open

fix: Support role names and IDs for SSC local user management#1090
SangameshV wants to merge 1 commit into
dev/v3.xfrom
fix/v3.x/create-local-user-ssc

Conversation

@SangameshV

Copy link
Copy Markdown
Contributor

This PR fixes SSC local user creation and update operations to support roles specified either by role ID or role name.

Previously, commands such as fcli ssc ac create-local-user and ssc ac update-local-user would fail when a role name was provided, even though the CLI help indicated that both role names and IDs were supported. The underlying SSC API accepts only role IDs, causing requests with role names to be rejected.

Changes:

  • Added support for resolving role names to their corresponding SSC role IDs before invoking the SSC API.
  • Continued support for directly specifying role IDs.
  • Improved consistency between command behavior and the documented option help.

This change ensures the implementation matches the documented behaviour and provides a more user-friendly experience by allowing users to specify roles using either format.

@SangameshV
SangameshV requested a review from rsenden September 7, 2026 04:19
@SangameshV SangameshV self-assigned this Sep 7, 2026
@SangameshV SangameshV changed the title fix: Support role names and IDs for SSC local user management (resolves #1075) fix: Support role names and IDs for SSC local user management Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant