Project

General

Profile

Actions

Cleanup #50540

open

Change sso handle command with CLICommand

Added by Pere Díaz Bou almost 3 years ago.

Status:
New
Priority:
Low
Category:
General - Back-end
Target version:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

This tracker addressed the controllers/sso.py where we handle every sso command inside handle_sso_command

A deeper refactoring on this area would've been using the @CLICommand helper with separate functions, instead of dealing with each command handling (the old way).

Example:

@CLICommand('dashboard sso setup saml2')
def _handle_saml_setup(self, cmd: str):
....

No data to display

Actions

Also available in: Atom PDF