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

Add set password modal #6967

Merged
merged 4 commits into from
May 13, 2022
Merged

Add set password modal #6967

merged 4 commits into from
May 13, 2022

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented May 13, 2022

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented May 13, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@AlexAndBear AlexAndBear marked this pull request as ready for review May 13, 2022 11:52
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@pascalwengerter pascalwengerter left a comment

Choose a reason for hiding this comment

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

The same check would have to happen in FileLinks.vue both for creating and updating links 😬

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented May 13, 2022

@pascalwengerter
is this a statement or a guess?

AFAIK we have this check on creating links ?
image

Just on edit it's not perfect yet

@pascalwengerter
Copy link
Contributor

@pascalwengerter is this a statement or a guess?

AFAIK we have this check on creating links ? image

Just on edit it's not perfect yet

Statement 😋 the form you refer to will be removed in #6961 with a similar logic as in creating quickLinks, so create/update links in the FileLinks.vue need the password-modal if a password is enforced for the target role

@AlexAndBear
Copy link
Contributor Author

@pascalwengerter ok, but I think the issue ticket is not targeting this, will be done in the future, you might want to ping me after merge

@pascalwengerter
Copy link
Contributor

@pascalwengerter ok, but I think the issue ticket is not targeting this, will be done in the future, you might want to ping me after merge

Tobi's ticket is targeting this (or more like "what we spoke about in a call yesterday and which isn't clear in the ticket, namely update failures when changing roles via the dropdowns for links that would require a password for the new role"), your PR closes what is reported in #6782. I'm fine with merging this PR, but we'd have to reopen #6963 again after merge with an updated description

Copy link
Contributor

@pascalwengerter pascalwengerter left a comment

Choose a reason for hiding this comment

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

I'm fine with merging now as code LGTM, we'll have to put more work into password-enforcement upon creating/updating links in the sidebar in the future though. Also, please squash-on-merge :)

@AlexAndBear
Copy link
Contributor Author

AlexAndBear commented May 13, 2022

@pascalwengerter can we please open a new issue with detailed information?

@AlexAndBear AlexAndBear merged commit f40a899 into master May 13, 2022
@delete-merged-branch delete-merged-branch bot deleted the issues/6963 branch May 13, 2022 15:36
@pascalwengerter
Copy link
Contributor

@pascalwengerter can we please open a new issue with detailed information?

Taking care of it now, thx

@pascalwengerter
Copy link
Contributor

@pascalwengerter can we please open a new issue with detailed information?

Taking care of it now, thx

Lives in #6974 now

@kulmann kulmann mentioned this pull request May 25, 2022
25 tasks
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.

OC10 public links: Show Password-promt if passwords are enforced
2 participants