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

Fix changes to admin panel on refreshing the page #877

Merged
merged 1 commit into from
May 16, 2020

Conversation

carpecodeum
Copy link

Description

Fixes the issue of losing the admin permissions on refreshing the page

#874

Motivation and Context

When the page was refreshed after signing in as the admin the user would lose their admin authLevel

How Has This Been Tested?

Tested by refreshing the page on being logged in as the admin

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@carpecodeum carpecodeum requested a review from kmehant January 31, 2020 22:10
@carpecodeum
Copy link
Author

@kmehant given your permission i will fix the same bug occurring in the react part of the app

@kmehant kmehant merged commit e1b48b9 into scorelab:develop May 16, 2020
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.

On Logging as admin and refreshing the page the Admin privileges are revoked
3 participants