Skip to content

Hook in APIs to filtered permissions data component #1801

@JackHaeg

Description

@JackHaeg

Dependency

git fetch vrms # or "git fetch upstream" depending on your remotes configuration
git branch user_permissions_search
git checkout -b [new branch name]

Overview

This issue represents the final step in the User Permission Search Epic. The objective is to remove the placeholder dummy data currently used in the "User Permission Search" screen and integrate the APIs developed earlier in the Epic. Once completed, the filtered permissions data component will be fully functional and ready for production.

Action Items

  • Remove Dummy Data
    • Identify and remove all instances of dummy/placeholder data from the "User Permission Search" screen and filtered permissions data component.
  • API Integration
  • Fix Projects listed on User Profile Page
    • Ensure that when a user clicks on a user's name in the search results (via both "Admins" or "Project Leads" searches) and navigates from the permissions search page to the User Profile page (e.g., https://www.vrms.io/useradmin), that the projects the user is associated with are displayed correctly.
      • Currently, when a user navigates from User Permission Search, projects are not displayed on the User Profile page. The user's projects are only showing up when we navigate via User Search
      • See: file: client/src/components/user-admin/UserManagement.jsx
      • See comment on PR: User permissions search #1853 (comment)
Screenshots of current & expected behavior

User Profile page when navigating from User Permission Search (note that NO projects are displayed)
Image

User Profile page when navigating from User Search (note that projects are correctly displayed)
Image

File where issue is occurring.
Image

  • Testing
    • Verify the full flow from user input to permission search results.
    • Ensure that the search results update dynamically based on input filters.

Resources/Instructions

Screenshot of User Permission Search Screen mockups

Screenshot 2024-10-07 at 8 30 51 PM

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Final QA (product)

Relationships

None yet

Development

No branches or pull requests

Issue actions