Commit graph

5 commits

Author SHA1 Message Date
Eugen Rochko
7bb8b0b2fc
Add moderator role and add pundit policies for admin actions ()
* 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
2017-11-11 20:23:33 +01:00
nullkal
da77f65c46 Add instance search feature () 2017-09-13 12:30:07 +02:00
Eugen Rochko
4b911fea03 Add button to re-subscribe to all accounts from a domain () 2017-07-20 23:07:13 +02:00
Matt Jankowski
a132332b86 Add Instance class to list admin records () 2017-05-31 20:38:44 +02:00
Matt Jankowski
55e1503522 Instances list in admin ()
* Add admin/instances index action

* Add link to instances admin page

* View lists instances

* Instances, grouped by domain, ordered by count

* Use Account.remote scope

* Extract method: Account.by_domain_accounts
2017-04-18 21:09:07 +02:00