Permissions search functions has some bugs

Description

In the Permissions section of Rocket.Chat, I think there is an issue where the rendered names of three specific permissions in PermissionRow were incorrect due to improper translations(en - en) from _id to display names. This issue led to the following problems:

  1. Search Functionality: Searching for these permissions required using their _id (e.g., access-setting-permissions) instead of the rendered name (e.g., Modify Setting-Based Permissions). Additionally, spaces were not recognized in the search, and users had to use a - instead of a space.
  2. Sorting: Sorting of permissions was based on _id instead of the displayed names, leading to confusion.

The affected permissions are:

Rendered Name in UI _id
Change Some Settings manage-selected-settings
Modify Setting-Based Permissions access-setting-permissions
Bypass rate limit for REST API api-bypass-rate-limita

Server Setup Information

  • Version of Rocket.Chat Server: 7.2.0
  • Operating System: linux
  • Deployment Method: cloned
  • Number of Running Instances: 1
  • DB Replicaset Oplog: enabled
  • NodeJS Version: 20.18.0
  • MongoDB Version: 7.0.5 / wiredTiger (oplog Enabled)
  • Proxy:
  • Firewalls involved:

Steps to Reproduce

  1. Navigate to Administration → Workspace → Permissions.
  2. Search for Modify Setting-Based Permissions:
    • The search will not find it unless you search (access-setting-permissions) which is id.
    • Spaces are not recognized; you must use - in place of spaces.
  3. Observe sorting behavior: Permission names appear sorted based on _id rather than their displayed names.

Issue Video:

Search Video


Additional Information

Sir , Similar kind issues alredy mentioned in old rocket chat version which then removed and not in 7.2.0 version, what i pointed out is few things I think still left to solve,
Sir , I alredy made a PR for it PR #34843 ,
In the PR i get " No Changeset found and PR is missing the ‘stat: QA assured’ label" , I want to know what is the conventions of file name in changeset folder.

I am new to the open-source community, and while I have made every effort to ensure accuracy, I apologize in advance for any mistakes or oversights. I appreciate your understanding and guidance.

Hi.

For dev work always ask before starting work. You are better off asking in:

https://open.rocket.chat/channel/support

Some dev notes here.

Your PR is not linked to the issue you are meant to be trying to solve.

You need changeset (see other PRs) and sign the agreement.

The team add labels as required.

Thank you for your guidance. I’ve now signed the CLA, created a changeset, and linked the issues to the PR for better clarity.

Moving forward, I’ll make sure to raise any bugs or development-related tasks in the https://open.rocket.chat/channel/support as suggested. I initially shared this on Rocket chat forum because I noticed other developers discussing issues and PRs here, but I’ll follow the recommended workflow from now on.
Please let me know if there’s anything else I need to address.
Thanks for your time and reply!

Just spoke to the team and they told me:

Just got a very similar item assigned to an engineer. Working to have it done for 7.3.0 release

So seems your PR will not be used.

This is why you need to check first.

Okey, Thank you Sir for your time, ( well eventually while doing this I learned lots of new things.)

No problems. I still learn at my age!

Most important thing is read first, and then ask smart questions after - as per the gist.

It will save you lots of your own valuable time!