-
Notifications
You must be signed in to change notification settings - Fork 33
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
Feature/revoke api key should have confirm dialog #3339
Feature/revoke api key should have confirm dialog #3339
Conversation
@@ -32,4 +32,46 @@ | |||
</button> | |||
{{/ if }} | |||
{{/ if }} | |||
<!-- regenerate api key confirmation modal section --> | |||
<div class="modal fade" id="regenerate-api-key-confirmation-modal"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create a new template for Modal form and place all logic/handler of this template to separate file. The value of API key you can provide to Modal. Look at another implementation of Modal form (for example, for Backlog)
"regenerateApiKeyConfirmation_confirmRegenerateMessage": "Are you sure you want to revoke API key?", | ||
"regenerateApiKeyConfirmation_confirmRegenerateNote": "NOTE:", | ||
"regenerateApiKeyConfirmation_confirmRegenerateInformation": | ||
"Revoking API key will stop calls with old API key to following APIS: .", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Make it as one line
- remove the last dot in the sentence
- APIS -> APIs
// Get all APIs ID that are connected to specify Proxy | ||
const apiIds = ProxyBackends.find({ proxyId }).map(backend => { return backend.apiId; }); | ||
// Find all APIs that are connected to Proxy | ||
const apisList = Apis.find({ _id: { $in: apiIds } }).fetch(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a filter by user. I mean that find all connected APIs that the current user manages.
Add additional rule
@deligence-dharmendra The last |
fixed travis ci issue fixed travis issue fixed new changes fixed travis ci issue
a673e63
to
07deb4e
Compare
Will look at it tomorrow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no errors, works fine
Closes #3322
Changes
Developer checklist
This checklist is to be completed by the PR developer:
Reviewer checklist
Reviewed by: @marla-singer @matleppa
This list is to be completed by the pull request reviewer: