a19027afae
Currently the /new-category url can be accessed by moderators, regardless of whether the Site Setting for moderators_manage_categories_and_groups is true or false. On top of this, non authorized users can also access this page but shows errors (no 404 loaded). Since the 404 redirect happens within Ember, we need to allow the site setting value to be accessed within JS. After this change all non admin users will see a 404 for this route, the exception being moderators if the moderators_manage_categories_and_groups setting has a value of true. /t/73360 |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |