Skip to content

After adding user, admin turns off #1203

Closed
@anurag91jain

Description

@anurag91jain
Contributor

A clear and concise description of what the issue is.

When I add another user as an Admin, the page refreshes which causes the Admin to turn off and hence throw an error

How to reproduce the issue

  1. Go to settings
  2. Turn on Admin mode and open an app which you don't have access to
  3. Add a member other than yourself
  4. Error: The page refreshes and Admin is off and shows an error "you don't have access"

Expected results

Page should not refresh or admin should not be turned off

Actual results

Page refreshes and admin is turned off

Screenshots

Image

This logic is causing the page to refresh. The store (which contains whether admin is on or off) doesn't persist in localStorage or redux-persist.

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.

  • [ ]
  • [ ]

Activity

added theissue type on May 22, 2025
anurag91jain

anurag91jain commented on May 22, 2025

@anurag91jain
ContributorAuthor

@johbaxter @neelneelneel can we look at finding a solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @anurag91jain@pallabi2303

    Issue actions

      After adding user, admin turns off · Issue #1203 · SEMOSS/semoss-ui