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

fix: Remove the user from the old group synchronized profile property groups - EXO-64814 - Meeds-io/meeds#1052 #2702

Merged
merged 10 commits into from
Aug 8, 2023

Conversation

sofyenne
Copy link
Contributor

@sofyenne sofyenne commented Aug 3, 2023

Prior to this change, after editing a group-synchronized profile property, a new group was created, and the user continued to be displayed among the members of the old group
This change is going to remove the user from the old group synchronized profile property groups.

aycherif and others added 6 commits July 28, 2023 01:20
…tions list - EXO-64105 - Meeds-io/meeds#950

Prior to this change, when click on the three dots of a card user in a space member and check the display of the list options, this list must contain 6 options but the last option is hidden behind the card below
To fix this problem, while clicking on the three dots we increase the z-index of this card. After this change, the list of options is displayed on the card below.
…eds#1023 (#2662)

When clicking on notifications on All notifications page, nothing
happens.
This will fix the wrong URL on JS files and adds a style to make the
whole notification line clickable.
…erties including the first name or the last name - EXO-65382 - Meeds-io/meeds#1050 (#2697)

Prior to this change, after updating multiple profile properties
including the first name or the last name, the full name was not being
updated. This issue occurred because the full name property was only
updated when either the first name or the last name was changed. In the
case of updating multiple properties at once, we need to fetch the newly
updated profile to utilize the new value of the full name.
@sofyenne sofyenne requested a review from ahamdi August 3, 2023 16:01
@sofyenne sofyenne changed the title fix: Remove the user from the old group synchronized profile property groups - EX-64814 - Meeds-io/meeds#1052 fix: Remove the user from the old group synchronized profile property groups - EXO-64814 - Meeds-io/meeds#1052 Aug 3, 2023
…e - EXO-65724 - Meeds-io/meeds#1054

Prior to this change, when Open notification drawer and close a notification, The intended to be closed notification is opened instead. After this change, This notification is closed.
@@ -126,6 +127,7 @@ private void synchronizeProperty(Map.Entry<String, Object> property, Group profi
Group newPropertyNameGroup = getOrCreateGroup(propertyName, profileGroup);
try {
Group newPropertyValueGroup = getOrCreateGroup(propertyValue, newPropertyNameGroup);
removeUserFromExistingPropertyGroup(newPropertyNameGroup, user);
Copy link
Member

Choose a reason for hiding this comment

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

aren't you removing then adding the user to the same group here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are removing the user from the existing child group, and then adding them to the newly created child group within the same larger (parent) group!

@sofyenne sofyenne requested a review from ahamdi August 8, 2023 11:56
@sonarcloud
Copy link

sonarcloud bot commented Aug 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 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@sofyenne sofyenne merged commit 306ace1 into feature/maintenance Aug 8, 2023
5 checks passed
@sofyenne sofyenne deleted the Task/64814 branch August 8, 2023 12:26
exo-swf pushed a commit that referenced this pull request Aug 8, 2023
… groups - EXO-64814 - Meeds-io/meeds#1052 (#2702)

Prior to this change, after editing a group-synchronized profile property, a new group was created, and the user continued to be displayed among the members of the old group
This change is going to remove the user from the old group synchronized profile property groups.
sofyenne added a commit that referenced this pull request Aug 9, 2023
… groups - EXO-64814 - Meeds-io/meeds#1052 (#2702)

Prior to this change, after editing a group-synchronized profile property, a new group was created, and the user continued to be displayed among the members of the old group
This change is going to remove the user from the old group synchronized profile property groups.
sofyenne added a commit that referenced this pull request Aug 9, 2023
… groups - EXO-64814 - Meeds-io/meeds#1052 (#2702)

Prior to this change, after editing a group-synchronized profile property, a new group was created, and the user continued to be displayed among the members of the old group
This change is going to remove the user from the old group synchronized profile property groups.
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.

4 participants