discourse/app/services/categories
Juan David Martínez Cubillos 7a6c3fcf3f
FIX: Moderators can enable plugins when enable_category_type_setup SiteSetting is enabled (#40349)
#### Decription 

Re implementation of a previous
[PR](https://github.com/discourse/discourse/pull/40246). This PR fixes
the issues found in the previous one by using a different metadata field
instead of reusing the `available` field.


**Before** 
<img width="900" height="600" alt="image"
src="https://github.com/user-attachments/assets/9e451e0f-89a4-469b-89c8-3d27de3aac68"
/>


**After**
<img width="888" height="588" alt="image"
src="https://github.com/user-attachments/assets/40c08684-5904-4b59-af10-a6e76e650096"
/>

Ref: `patch-triage/810`
2026-06-17 08:37:14 -05:00
..
types FIX: Moderators can enable plugins when enable_category_type_setup SiteSetting is enabled (#40349) 2026-06-17 08:37:14 -05:00
configure.rb FIX: Moderators can enable plugins when enable_category_type_setup SiteSetting is enabled (#40349) 2026-06-17 08:37:14 -05:00
type_registry.rb FIX: Moderators can enable plugins when enable_category_type_setup SiteSetting is enabled (#40349) 2026-06-17 08:37:14 -05:00
unconfigure.rb FEATURE: add API for custom composer actions, new "event" composer action (#40203) 2026-05-28 09:56:34 -04:00