fix: Drop abac attributes when room changes to public

Merged
KE
5mo ago
+49-0

Proposed changes (including videos or screenshots)

Issue(s)

https://rocketchat.atlassian.net/browse/ABAC3-10

Steps to test or reproduce

Further comments

This is only possible while abac is disabled and the rooms was previously abac managed. Other changes to rooms while keeping the same privacy level are permitted without changing attributes.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed ABAC attributes incorrectly persisting when converting a room from private to public while ABAC is disabled. These attributes are now properly removed during room type conversion.

Review Change Stack