mirror of
https://github.com/discourse/discourse.git
synced 2025-02-11 13:55:07 +00: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.