Skip to content

Settings to hide individual actions in the pull request view #162

Open

Description

@austin-rt

Why do we need this ?

As a workspace admin

I need to: hide individual actions, such as Merge and Approve, in the pull request view

So That: people can look at pull requests from Rocket.Chat without merging or approving them there

Acceptance Criteria

  • One setting each for View Changes and View File, Merge, Comments and Approve
  • All settings default to on, so nothing changes until an admin turns one off
  • A turned-off action is left out of the pull request view
  • A turned-off action is refused on click, so a view opened before the change cannot still use it

Further Comments / References

The pull request view is modals/pullDetailsModal.ts. Its actions are handled in handlers/ExecuteBlockActionHandler.ts.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions