mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 03:48:23 +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.