PR3023: Add interactWithPauseUserButton permission for Pause/Resume button#4960
Open
saitejakaasoju wants to merge 1 commit intoOneCommunityGlobal:developmentfrom
Open
Conversation
👷 Deploy request for highestgoodnetwork-dev pending review.Visit the deploys page to approve it
|
|
This PR has been closed because PRs from forks are not allowed. Please create a branch directly off the origin repository and resubmit your PR. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Implements PR3023: Create "Interact with Pause User button" permission in the Permissions Management → User Management section.
This permission allows specific roles or individuals to see and interact with the Pause/Resume button on a user's profile.
Location of the feature:
User Profile → Basic Information → Status → Pause/Resume
Previously, users with edit status access could see the Pause/Resume button without a dedicated permission. This change introduces a new permission that controls visibility and interaction with the Pause button.
The Pause/Resume functionality itself already exists in the backend, so this PR focuses only on permission control in the frontend.
Related PRS (if any):
This change is frontend-only and uses existing backend endpoints for pause/resume functionality.
No backend PR is required.
Main changes explained:
How to test:
npm installand...to run this PR locallyUser Profile → Basic Information → Status
Permissions Management → User Management
Screenshots or videos of changes:
Note:
This PR introduces only frontend permission control for the Pause/Resume button.
The backend pause/resume functionality already exists and remains unchanged.
Screen.Recording.2026-02-28.at.4.15.06.PM.mov