Disable software deploy actions in SystemController region

Deploy commands should not be allowed in SystemController
Region. This change removes all deploy actions available
in SystemController region. Only Upload and Delete should be available.

TEST PLAN:
[PASS] Build, install
[PASS] Verify if Upload and Delete buttons are
available in SystemController on Releases table.
[PASS] Check if there is not any Deploy commands
available in SystemController on Releases table.
[PASS] Verify if Deploy actions are available
in RegionOne (on the SystemController).
[PASS] Verify Upload and Delete actions.

Story: 2010676
Task: 51058

Change-Id: I60afe1cb7e7142f9e12fc3d54bba280fac6c8eeb
Signed-off-by: Italo Lemos <Italo.doRegoLemos@windriver.com>
This commit is contained in:
Italo Lemos 2024-12-17 10:41:22 -03:00
parent 5ce4db85e3
commit 3e1a9381bd

View File

@ -34,11 +34,7 @@ class ReleasesTable(AdminTables.ReleasesTable):
row_class = AdminTables.UpdateReleaseRow
status_columns = ['state']
row_actions = (
AdminTables.DeployPrecheck,
AdminTables.DeployStart,
AdminTables.DeployActivate,
AdminTables.DeleteRelease,
AdminTables.DeployDelete
)
table_actions = (
AdminTables.ReleaseFilterAction,