mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 00:35:41 +08: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.