<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cccms/db/migrate/20260731124136_add_roles_to_users.rb, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://erdgeist.org/gitweb/cccms/atom?h=master</id>
<link rel='self' href='http://erdgeist.org/gitweb/cccms/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/'/>
<updated>2026-07-31T13:55:43Z</updated>
<entry>
<title>Group user accounts by role</title>
<updated>2026-07-31T13:55:43Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-31T13:55:43Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=464dd4266bdc433805010b5dca428f4cb75c2a81'/>
<id>urn:sha1:464dd4266bdc433805010b5dca428f4cb75c2a81</id>
<content type='text'>
Replaces the two-way admin/user split with four groups ordered by
capability: administration, Redaktion, editors, alumni. alumni takes
precedence over capability in role_group, so a retired admin appears at the
bottom rather than the top.

Forms now offer the three roles as checkboxes rather than a single admin
checkbox, with a trailing hidden blank so an empty set can be posted, and
user_params permits roles only for admins. Three create buttons prefill the
common combinations.
</content>
</entry>
</feed>
