Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(manualjudgment): Select roles that can execute manual judgement … #7636

Closed
wants to merge 1 commit into from

Conversation

sanopsmx
Copy link
Contributor

#4792

Added ability to add roles to manual judgment stage.
This is part of: spinnaker/spinnaker#4792.

Enhanced stage.html to

Get the roles of the application.
Display the roles of the application as a list only if the stage is Manual Judgment.
Enhanced stage.module.js to

Fetch the permissions of the application from the gate application url.
populate the list with only the roles of the application with no duplicates.
Enhanced ApplicationReader.ts to

Fetch the permissions of the application from the gate application url.
Enhanced ManualJudgmentApproval.tsx to

Fetch the roles of the application, stage and the user during the execution.
Iterate through each of the user role to check if the role exists in the stage and application.
If yes/no, enable/disable the continue button.
Display the instruction that User does not have permissions to continue.

…4792

Added ability to add roles to manual judgment stage.
This is part of: spinnaker/spinnaker#4792.

Enhanced stage.html to

Get the roles of the application.
Display the roles of the application as a list only if the stage is Manual Judgment.
Enhanced stage.module.js to

Fetch the permissions of the application from the gate application url.
populate the list with only the roles of the application with no duplicates.
Enhanced ApplicationReader.ts to

Fetch the permissions of the application from the gate application url.
Enhanced ManualJudgmentApproval.tsx to

Fetch the roles of the application, stage and the user during the execution.
Iterate through each of the user role to check if the role exists in the stage and application.
If yes/no, enable/disable the continue button.
Display the instruction that User does not have permissions to continue
@sanopsmx
Copy link
Contributor Author

Waiting for the feedback.

@christopherthielen
Copy link
Contributor

I assume this is waiting on spinnaker/governance#80

@maggieneterval
Copy link
Contributor

I assume this is waiting on spinnaker/governance#80

Yes, I believe so -- shall we close this for now? For changesets like this blocked by RFC approval (and coupled to a backend implementation that might change based on feedback on the RFC), would probably make sense to hold off on submitting the PR until the RFC has been merged, both to 1) encourage consensus on the RFC prior to implementation and 2) de-clutter Deck's open PRs. @christopherthielen what do you think?

@maggieneterval
Copy link
Contributor

@sanopsmx going to close this for now since this has been sitting for a few months while we wait for approval of your RFC; please feel free to re-open once the RFC is approved!

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.

3 participants