Skip to content

Permissions will not be set correctly if the user is not present on the 1st page of pagination in app/engine settings #1201

@anurag91jain

Description

@anurag91jain
Contributor

A clear and concise description of what the issue is.

According to the logic written in MembersTable.tsx -> setUserDetails, we are currently checking if the logged in user is part of the MembersTable. The members fetched are only 5 at a time as the table has pagination. Hence it can be the case that the logged in has a different permission but since there are only 5 visible, hence the logged in user was given a wrong permission.

How to reproduce the issue

  1. Go to any app
  2. Go to the settings of app using edit icon.
  3. Notice if your name is not in the first list, your permission will not be set correctly

Expected results

Expected result of action.

Actual results

What actually happened.

Screenshots

Image

Environment

(please complete the following information):

  • browser type and version:
  • node.js version: node -v

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked my terminal/console and have included relevant text here
    I have reproduced the issue with at least the latest released version.
    I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

Requirements

What are more specific requirements that needs to take to consider this issue resolved.

  • [ ]
  • [ ]

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @anurag91jain@neelneelneel@pallabi2303

    Issue actions

      Permissions will not be set correctly if the user is not present on the 1st page of pagination in app/engine settings · Issue #1201 · SEMOSS/semoss-ui