Skip to content

Conversation

@Ash-exp
Copy link
Contributor

@Ash-exp Ash-exp commented Sep 8, 2023

Description

When a user has previously deployed any helm application and after that the user is deleted. Then post the user deletion event the deployment history page of helm apps will break . It was Handled for devtron app where the deleted user is marked as anonymous but it is not handled in helm apps. This PR will fix that issue

Fixes #3415

How Has This Been Tested?

  • Helm Apps Deployment History
    • Deployed by Admin
    • Deployed by user
    • Deployed by an deleted user

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@Ash-exp Ash-exp added the enhancement New feature or request label Sep 8, 2023
@Ash-exp Ash-exp self-assigned this Sep 8, 2023
@Ash-exp Ash-exp changed the title fixed: Helm app deployment history page breaking due to user details not found fix: Helm app deployment history page breaking due to user details not found Sep 8, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Ash-exp Ash-exp merged commit 8ad55d4 into main Sep 8, 2023
@Ash-exp Ash-exp deleted the fix-deployment-history branch September 8, 2023 18:10
vikramdevtron added a commit that referenced this pull request Sep 13, 2023
* rbac-modification

* rbac modification changes

* handling conditiin of empty envs

* refactoring and rbac in description

* refactoring

* rbac chaneg for node detail and node list

* Refactoring into rbacClusterService

* review change

* added new api for api resources gvk list

* fix makefile for shallow clone release

* added: migration script (#3870)

* feat: added validation for create app workflow API (#3842)

* feat: added validation for create app workflow

* fixed: CiPipelineDetails validation

* fixed: virtual env validation

* fixed: validation struct

* fixed: validation struct

* fixed: validation struct

* chore: renamed a function

* fixed: updated validation

* updated: validation for linked CI

* feat: deployment history release not found err handling (#3811)

* query optimised (#3877)

* fixed: deployment history user details (#3873)

* chore: adjust duplicate action threshold (#3879)

---------

Co-authored-by: Vikram Singh <[email protected]>
Co-authored-by: Asutosh Das <[email protected]>
Co-authored-by: Gireesh Naidu <[email protected]>
Co-authored-by: Prakarsh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request PR:Ready-to-Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: deployment history is not showing in selective helm apps

5 participants