Commit Graph

3 Commits (d083f7741a5996ee24bbdb7cd177e4db2ddfaead)

Author SHA1 Message Date
Eugen Rochko 7bb8b0b2fc
Add moderator role and add pundit policies for admin actions (#5635)
* Add moderator role and add pundit policies for admin actions

* Add rake task for turning user into mod and revoking it again

* Fix handling of unauthorized exception

* Deliver new report e-mails to staff, not just admins

* Add promote/demote to admin UI, hide some actions conditionally

* Fix unused i18n
8 years ago
HIKARU KOBORI 2c6a85832c Fix typo in admin/status_controller.rb (#4679) 9 years ago
abcang 4d42a38954 Improve admin page (#4121)
* Improve admin page

* Fix test

* Add spec

* Improve select style
9 years ago