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

Show admin panel button in sidebar if user is superuser #3

Closed
shivankacker opened this issue Apr 26, 2023 · 2 comments
Closed

Show admin panel button in sidebar if user is superuser #3

shivankacker opened this issue Apr 26, 2023 · 2 comments
Assignees
Labels

Comments

@shivankacker
Copy link
Member

Along with the three buttons at the bottom, add an admin panel icon button that takes the user to /admin.

Update the User type to include the superuser attribute, then check from storage atom if user is admin, and if is admin, show the button.

This PR is dependent on ohcnetwork/ayushma#59

@Ashesh3
Copy link
Member

Ashesh3 commented May 16, 2023

Unblocking as ohcnetwork/ayushma#59 is merged.

@Ashesh3 Ashesh3 removed the blocked label May 16, 2023
@shivankacker
Copy link
Member Author

Issue has been solved in a previous commit, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants