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

[feat] Toggle Super_user privileges #931

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

shubhdevelop
Copy link
Contributor

@shubhdevelop shubhdevelop commented Sep 12, 2024

Date: 13-09-2024

Developer Name: Shubham Raj


Issue Ticket Number:-

Description:

This PR remove page /debug from the feature flag, and makes the feature fully functional

Is Under Feature Flag

  • Yes
  • No

rather remove this page from the dev feature flag
Database changes

  • Yes
  • No

Breaking changes (If your feature is breaking/missing something please mention pending tickets)

  • Yes
  • No

Is Development Tested?

  • Yes
  • No

development environment tested using with the staging data
on toggle roles super_user changes to false

Screencast.from.18-09-24.04.41.47.AM.IST.webm

Tested in staging?

  • Yes
  • No

Add relevant Screenshot below ( e.g test coverage etc. )

test coverage for toggle button's functionality
image

test coverage for removing the page from the feature flag
image

Changes
- added tests for it
- removes /debug pages from the dev feature flags
@shubhdevelop shubhdevelop marked this pull request as ready for review September 12, 2024 19:16
@tejaskh3
Copy link
Contributor

Please add test coverage instead how many test cases are getting passed and failed.

Copy link

@Tejs1 Tejs1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix grammar and spelling in assertion messages.
Ensure clear and consistent language in assertion messages for better readability.

tests/integration/components/debug-grids-test.js Outdated Show resolved Hide resolved
app/components/debug-grids.js Outdated Show resolved Hide resolved
tests/integration/components/debug-grids-test.js Outdated Show resolved Hide resolved
tests/integration/components/debug-grids-test.js Outdated Show resolved Hide resolved
- Adds toast as on both success as well failure
- Adds test case covering the non-success reponse
from serves
@shubhdevelop shubhdevelop merged commit df4b12c into Real-Dev-Squad:develop Sep 18, 2024
2 checks passed
@shubhdevelop shubhdevelop mentioned this pull request Sep 18, 2024
10 tasks
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.

[feat] Add Super user privilege toggle functionality
6 participants