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

E2466. UI for Impersonate User #58

Open
wants to merge 55 commits into
base: main
Choose a base branch
from
Open

Conversation

augentism
Copy link

@augentism augentism commented Oct 21, 2024

The current project is implemented in Ruby on Rails and needs to be re-implemented using TypeScript and ReactJS. The primary objective of this project is to develop and implement a sophisticated user interface (UI) within the Expertiza platform, specifically designed for user impersonation functionality. This feature will enable authenticated users to assume the identity of other users whose accounts they have created, either directly or recursively, thus enhancing system administration and support capabilities. The impersonation feature will be governed by a strict creation order, ensuring that users can only access and utilize this functionality for accounts that they have authority over.

Wiki Page Link: https://wiki.expertiza.ncsu.edu/index.php?title=CSC/ECE_517_Fall_2024_-_E2466._UI_for_Impersonate_User

Video Demonstration: https://drive.google.com/file/d/1Ph_ShpjxVaBVnIon7CqAOr8NWN-0u04V/view?usp=sharing

Project Board: https://github.com/users/augentism/projects/1/views/1

Pierce57 and others added 8 commits October 21, 2024 02:41
…h Query Method Implemented for Autocomplete Functionality | Impersonate User API Call Implemented | Dropdown Conditional on ImpersonateUser page for Autocomplete Functionality
Baseline Code - Added ImpersonateUser Route | Fetch User List API Call Implemented | Debounce Search Query Method Implemented for Autocomplete Functionality | Impersonate User API Call Implemented | Dropdown Conditional on ImpersonateUser page for Autocomplete Functionality
@augentism augentism changed the title Project 3 base submission E2466. UI for Impersonate User Oct 28, 2024
Pierce57 and others added 15 commits October 28, 2024 01:09
…g against a bad response || Splitting it out into smaller parts for readability
…ion (JWT Token Storage) || Adding safeguards to initiating Impersonation (no longer locks out button if the response is invalid)
…e to indicate a failed Impersonation attempt
…can now click on Autocomplete entries and the Searchbar will autofill with the selected item || Correcting Impersonate GET API || Disabling Impersonate Button until a valid user is entered in the Searchbar
augentism and others added 5 commits October 29, 2024 01:15
…can now click on Autocomplete entries and the Search Bar will autofill with the selected item || Correcting Impersonate GET API || Disabling Impersonate Button until a valid user is entered in the Search Bar (#5)
…T API call based on the fetched User's ID || Reassigning the auth.user based on who we are Impersonating
@Pierce57
Copy link

Made a comment on the Backend PR - expertiza/reimplementation-back-end#88
It looks like a user is able to impersonate itself.

Pierce57 and others added 4 commits October 29, 2024 23:23
…sonate' || Raise an error when the Super Adminstrator is trying to be impersonated
…sonate' || Raising an error when the Super Administrator is trying to be impersonated (#9)
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