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

Disable editation for read only provider credentials #58

Merged
merged 11 commits into from
Aug 21, 2023

Conversation

aringocode
Copy link
Collaborator

@aringocode aringocode commented Aug 2, 2023

Changes

  1. Added editable prop that disallows readOnly editing to the provider
  2. Updated CHANGELOG
editable.mp4

@aringocode aringocode self-assigned this Aug 2, 2023
@aringocode aringocode requested a review from Pe5h4 August 3, 2023 04:23
@@ -248,6 +254,7 @@ function CredentialsDetailContainer(props) {
color="link"
resource={resourceManageCredentials}
resources={resources}
disabled={(editable !== true)}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aringocode I think the code can be simplified to disabled={!editable}

@aringocode aringocode requested a review from Pe5h4 August 4, 2023 06:10
@aringocode
Copy link
Collaborator Author

aringocode commented Aug 7, 2023

@Pe5h4

EditableCredential.mp4

@aringocode
Copy link
Collaborator Author

@Pe5h4 Can you review pls?)

Copy link
Collaborator

@Pe5h4 Pe5h4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but please confirm the alert message with Robin

public/locales/cs/translation.json Outdated Show resolved Hide resolved
@aringocode aringocode requested review from Pe5h4 and byewokko August 8, 2023 11:39
@aringocode
Copy link
Collaborator Author

@Pe5h4 can you review pls?)

@aringocode aringocode marked this pull request as ready for review August 21, 2023 04:34
@aringocode aringocode merged commit ac0231e into main Aug 21, 2023
@aringocode aringocode deleted the refactor/update-editation-credentials branch August 21, 2023 04:34
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