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] Do not allow admin users edit other federated users #26528

Conversation

MarcosSpessatto
Copy link
Member

Proposed changes (including videos or screenshots)

Issue(s)

Steps to test or reproduce

Further comments

I haven't added tests for this endpoint change since we don't have a way to create a federated user (unless set up the whole federation) and simulate the behavior.

@MarcosSpessatto MarcosSpessatto requested a review from a team as a code owner August 9, 2022 16:51
@MarcosSpessatto MarcosSpessatto added this to the 5.1.0 milestone Aug 9, 2022
@codecov
Copy link

codecov bot commented Aug 9, 2022

Codecov Report

Merging #26528 (35f74cb) into improve/federation-general-improvements (24ac9c4) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@                           Coverage Diff                            @@
##           improve/federation-general-improvements   #26528   +/-   ##
========================================================================
  Coverage                                    38.07%   38.07%           
========================================================================
  Files                                          745      745           
  Lines                                        18625    18625           
  Branches                                      1412     1412           
========================================================================
  Hits                                          7091     7091           
+ Misses                                       11313    11310    -3     
- Partials                                       221      224    +3     
Flag Coverage Δ
e2e 38.07% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@alansikora alansikora merged commit 8b0a018 into improve/federation-general-improvements Aug 10, 2022
@alansikora alansikora deleted the fix/do-not-allow-edit-federated-users branch August 10, 2022 13:26
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