-
Notifications
You must be signed in to change notification settings - Fork 15
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 option for all group admins to impersonate their group memebers #134
Conversation
Codecov Report
@@ Coverage Diff @@
## master #134 +/- ##
============================================
+ Coverage 63.54% 64.14% +0.59%
- Complexity 29 31 +2
============================================
Files 7 7
Lines 192 198 +6
============================================
+ Hits 122 127 +5
- Misses 70 71 +1
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #134 +/- ##
============================================
- Coverage 63.54% 62.62% -0.92%
- Complexity 29 31 +2
============================================
Files 7 7
Lines 192 198 +6
============================================
+ Hits 122 124 +2
- Misses 70 74 +4
Continue to review full report at Codecov.
|
9be6a99
to
263ae55
Compare
Current state of the PR:
Kindly review this change set @PVince81 |
@tomneedham Require your helping hand in reviewing this PR. |
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.
See above comments
On my local machine I executed the commands below for impersonate app:
Navigated to the users page and created a new user @tomneedham let me know if this is the same procedure followed? Because in my local instance it's not throwing issues. |
263ae55
to
fa375ca
Compare
So you're required to run |
Fresh install:
This is bad UX imo. Either dont show the icon if its not yet configured at all, or make a default mode so this works out of the box. The message also doesnt tell you that its not configured - so will never work. We will just get bug reports about this straight away. |
Add an option for all group admins to impersonate their group members. Signed-off-by: Sujith H <[email protected]>
Created #135. IMHO, this does not fit to the PR. So I will raise it separately. |
Agreed I have created a ticket #136. Again would be nice to create a separate PR imho. |
fa375ca
to
04dd905
Compare
@tomneedham I have updated the changes requested at
Let me know if this looks ok. |
How was the UX before this option ? Was impersonate enabled by default for everyone ? @sharidas I agree with @tomneedham that we need to fix the UX in the context of this PR |
The UX flow before this PR ( obviously enabled impersonate app in the oC instance ): For
|
@tomneedham Let me know your suggestion/opinion, please. |
We can detect this, and hide the icon. New issue. |
Not relevant, since only loaded for admins. |
Javascript can check last login column, if never, dont show impersoantion. Or show tooltip with greyed out icon. |
Anyway, conclusion here is this is no worse that current. |
Agreed, IMHO we can take the hiding of icons to a separate ticket. Let me know if this sounds reasonable. |
Add an option for all group admins to impersonate
their group members.
Signed-off-by: Sujith H [email protected]