0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 07:23:30 +08:00
discourse/spec/requests/api
Martin Brennan 7ff30d81a3
FEATURE: Support users in DAccessControl and backend (#41358)
Followup 5823e4e3b2,
this commit allows the addition of users along with
groups to access control lists, modifying DAccessControl
to support selecting a user or group from the same
search input.

Shown here is a mix of user & group permissions in the
`DAccessControl` component:

<img width="611" height="664" alt="image"
src="https://github.com/user-attachments/assets/c25e13b0-8885-4ce7-972c-5116f3acb094"
/>

When the search opens, we show the site's groups that
the user can see as preloaded values, showing only the
group name for clarity:

<img width="612" height="389" alt="image"
src="https://github.com/user-attachments/assets/df93a94b-918e-4fed-b045-ac72f02aca41"
/>

When searching a GET request is sent and users are included
in search results.

<img width="608" height="404" alt="image"
src="https://github.com/user-attachments/assets/ff17e6c0-2505-480e-ae25-e6f8309555bc"
/>

---------

Co-authored-by: Jordan Vidrine <jordan@jordanvidrine.com>
2026-07-15 09:18:06 +10:00
..
schemas FEATURE: Support users in DAccessControl and backend (#41358) 2026-07-15 09:18:06 +10:00
shared DEV: Improve JSON schema failure output in API specs (#41182) 2026-06-25 15:55:40 +10:00
backups_spec.rb DEV: Restore and update request/api specs (#39483) 2026-04-23 20:13:52 +02:00
badges_spec.rb
categories_spec.rb
groups_spec.rb DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
invites_spec.rb DEV: Update api docs spec for invite enpoint (#34843) 2025-09-17 14:50:53 -05:00
multiple_invites_spec.rb
notifications_spec.rb
posts_spec.rb DEV: Update api-docs for posts locked endpoint (#35453) 2025-10-16 12:56:34 -06:00
private_messages_spec.rb
rate_limits_spec.rb
search_spec.rb DEV: Replace JS build system with Rolldown (#35963) 2026-05-29 11:11:55 +01:00
site_spec.rb DEV: Enable Style/RedundantBegin rubocop rule (#40096) 2026-05-19 18:44:54 +02:00
tags_spec.rb DEV: Use tag_name/tag.name instead of tag_id/tag.id where the name is actually used (#36226) 2025-12-29 13:20:06 +08:00
topics_spec.rb DEV: Fix api docs openapi spec validation errors (#35361) 2025-10-14 07:32:58 -06:00
uploads_spec.rb DEV: Restore and update request/api specs (#39483) 2026-04-23 20:13:52 +02:00
user_badges_spec.rb
users_spec.rb FIX: Reject DiscourseConnect SSO payloads when secret is blank (#40830) 2026-06-12 15:17:16 +03:00