[PR #2893] [MERGED] feat: roles & users selector #12012

Closed
opened 2026-05-06 16:35:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/fosrl/pangolin/pull/2893
Author: @Fredkiss3
Created: 4/23/2026
Status: Merged
Merged: 5/6/2026
Merged by: @oschwartz10612

Base: devHead: feat/roles-and-user-multi-selectors


📝 Commits (10+)

  • 9db5ff9 ♻️ small refactor
  • 53c48e6 🌐 update french translations
  • b9bee28 🚧 wip
  • da4dd88 Merge branch 'dev' into feat/roles-and-user-multi-selectors
  • c746e1b 🚧 wip
  • cb3fa02 ♻️ create custom autocomplete tag input
  • 955aa41 revert changes modifying existing tag input
  • 95cbaaa new multi select tag input
  • 2ea9d27 machine selector
  • 91ce8be 🔨 add local mailer for catching emails

📊 Changes

23 files changed (+795 additions, -762 deletions)

View changed files

docker-compose.mailpit.yml (+12 -0)
📝 messages/fr-FR.json (+4 -3)
📝 src/app/[orgId]/settings/(private)/idp/[idpId]/general/page.tsx (+0 -20)
📝 src/app/[orgId]/settings/access/users/[userId]/access-controls/page.tsx (+37 -77)
📝 src/app/[orgId]/settings/access/users/create/page.tsx (+50 -74)
📝 src/app/[orgId]/settings/resources/proxy/[niceId]/authentication/page.tsx (+21 -65)
📝 src/components/Credenza.tsx (+1 -1)
📝 src/components/InternalResourceForm.tsx (+72 -134)
📝 src/components/OrgRolesTagField.tsx (+20 -38)
📝 src/components/RoleMappingConfigFields.tsx (+108 -84)
📝 src/components/UptimeAlertSection.tsx (+63 -92)
📝 src/components/alert-rule-editor/AlertRuleFields.tsx (+20 -57)
📝 src/components/machines-selector.tsx (+24 -65)
📝 src/components/multi-select/multi-select-content.tsx (+11 -6)
src/components/multi-select/multi-select-tag-input.tsx (+98 -0)
src/components/roles-selector.tsx (+81 -0)
📝 src/components/tags/autocomplete.tsx (+12 -7)
📝 src/components/tags/tag-input.tsx (+44 -28)
📝 src/components/ui/command.tsx (+4 -3)
📝 src/components/ui/controlled-data-table.tsx (+1 -1)

...and 3 more files

📄 Description

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Summary

  • Replace all role & user tag selectors in the UI with server side paginated selectors
  • Also fixed some french translations

Screenshots

Name Screenshots
users selector in private resources Screenshot 2026-05-04 at 18 39 15
roles selector in private resources Screenshot 2026-04-28 at 05 09 10
role selectors in create user Screenshot 2026-05-04 at 18 38 39
role selectors in edit user Screenshot 2026-04-28 at 05 08 55
role selectors in public resources access control Screenshot 2026-04-28 at 05 09 21
user selectors in public resources access control Screenshot 2026-05-04 at 18 39 55
user & roles selectors in alert rule fields Screenshot 2026-05-04 at 18 42 03
Role mapping in Identity providers Screenshot 2026-05-04 at 18 46 52

Fixed #2994


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/fosrl/pangolin/pull/2893 **Author:** [@Fredkiss3](https://github.com/Fredkiss3) **Created:** 4/23/2026 **Status:** ✅ Merged **Merged:** 5/6/2026 **Merged by:** [@oschwartz10612](https://github.com/oschwartz10612) **Base:** `dev` ← **Head:** `feat/roles-and-user-multi-selectors` --- ### 📝 Commits (10+) - [`9db5ff9`](https://github.com/fosrl/pangolin/commit/9db5ff9ff73c885959e1e42977345f4a9a2001ec) ♻️ small refactor - [`53c48e6`](https://github.com/fosrl/pangolin/commit/53c48e6f041b3a4a3ec39f1cec54e3ed1be338c9) 🌐 update french translations - [`b9bee28`](https://github.com/fosrl/pangolin/commit/b9bee2836b1973fbd31ad060ee60c2061c4da295) 🚧 wip - [`da4dd88`](https://github.com/fosrl/pangolin/commit/da4dd88fddf4fc3d24b77db661bb3402dd0dee33) Merge branch 'dev' into feat/roles-and-user-multi-selectors - [`c746e1b`](https://github.com/fosrl/pangolin/commit/c746e1bc8dd9f2f2181f517ab9f86e45c17f342d) 🚧 wip - [`cb3fa02`](https://github.com/fosrl/pangolin/commit/cb3fa028c301ea66103aae54bdb9394de73df59e) ♻️ create custom autocomplete tag input - [`955aa41`](https://github.com/fosrl/pangolin/commit/955aa41f53556a2d5c60eef29f64ea3b5ce14e81) ⏪ revert changes modifying existing tag input - [`95cbaaa`](https://github.com/fosrl/pangolin/commit/95cbaaae213c45a6cdf81cff1639f41242c24c00) ✨ new multi select tag input - [`2ea9d27`](https://github.com/fosrl/pangolin/commit/2ea9d272379e6bbb88803b9da42f88f40be6d2bd) ✨ machine selector - [`91ce8be`](https://github.com/fosrl/pangolin/commit/91ce8bea4bdd01d2ce15409fb8b00ac47502e8e2) 🔨 add local mailer for catching emails ### 📊 Changes **23 files changed** (+795 additions, -762 deletions) <details> <summary>View changed files</summary> ➕ `docker-compose.mailpit.yml` (+12 -0) 📝 `messages/fr-FR.json` (+4 -3) 📝 `src/app/[orgId]/settings/(private)/idp/[idpId]/general/page.tsx` (+0 -20) 📝 `src/app/[orgId]/settings/access/users/[userId]/access-controls/page.tsx` (+37 -77) 📝 `src/app/[orgId]/settings/access/users/create/page.tsx` (+50 -74) 📝 `src/app/[orgId]/settings/resources/proxy/[niceId]/authentication/page.tsx` (+21 -65) 📝 `src/components/Credenza.tsx` (+1 -1) 📝 `src/components/InternalResourceForm.tsx` (+72 -134) 📝 `src/components/OrgRolesTagField.tsx` (+20 -38) 📝 `src/components/RoleMappingConfigFields.tsx` (+108 -84) 📝 `src/components/UptimeAlertSection.tsx` (+63 -92) 📝 `src/components/alert-rule-editor/AlertRuleFields.tsx` (+20 -57) 📝 `src/components/machines-selector.tsx` (+24 -65) 📝 `src/components/multi-select/multi-select-content.tsx` (+11 -6) ➕ `src/components/multi-select/multi-select-tag-input.tsx` (+98 -0) ➕ `src/components/roles-selector.tsx` (+81 -0) 📝 `src/components/tags/autocomplete.tsx` (+12 -7) 📝 `src/components/tags/tag-input.tsx` (+44 -28) 📝 `src/components/ui/command.tsx` (+4 -3) 📝 `src/components/ui/controlled-data-table.tsx` (+1 -1) _...and 3 more files_ </details> ### 📄 Description ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Summary - Replace all role & user tag selectors in the UI with server side paginated selectors - Also fixed some french translations ## Screenshots | Name | Screenshots | | :----------------: | :-----------: | | users selector in private resources | <img width="748" height="705" alt="Screenshot 2026-05-04 at 18 39 15" src="https://github.com/user-attachments/assets/550f026e-4b14-46b0-96c4-d8132265ad63" /> | | roles selector in private resources | <img width="1860" height="1155" alt="Screenshot 2026-04-28 at 05 09 10" src="https://github.com/user-attachments/assets/83840ff3-7db8-4283-8928-bfb0c939e70e" /> | | role selectors in create user | <img width="903" height="911" alt="Screenshot 2026-05-04 at 18 38 39" src="https://github.com/user-attachments/assets/f9567a2a-fd5b-4934-a1fa-f6d51494da2b" /> | | role selectors in edit user | <img width="1860" height="1155" alt="Screenshot 2026-04-28 at 05 08 55" src="https://github.com/user-attachments/assets/e467a013-6273-4a04-b1b6-0df5f1ca9dc8" /> | | role selectors in public resources access control | <img width="1860" height="1155" alt="Screenshot 2026-04-28 at 05 09 21" src="https://github.com/user-attachments/assets/9ade6f87-051d-4ea3-8524-4fecb80e2da1" /> | | user selectors in public resources access control | <img width="694" height="552" alt="Screenshot 2026-05-04 at 18 39 55" src="https://github.com/user-attachments/assets/2b3aad03-70fd-4f28-8541-27f4cc168779" /> | | user & roles selectors in alert rule fields | <img width="780" height="393" alt="Screenshot 2026-05-04 at 18 42 03" src="https://github.com/user-attachments/assets/015f37cb-c145-42bd-9074-85ba0c4e8f65" /> | | Role mapping in Identity providers | <img width="592" height="511" alt="Screenshot 2026-05-04 at 18 46 52" src="https://github.com/user-attachments/assets/96bcc77b-7e4e-4eb5-b6f0-bcc9f353ac07" /> | Fixed #2994 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 16:35:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#12012