mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
The code that checked this permission was duplicated everytime a new settings of this type was added. This commit changes the behavior of some functionality because some feature checks were bypassed for staff members.