]> git.openstreetmap.org Git - rails.git/commit
Add an ACL system to allow key/value pairs to be attached to blocks
authorTom Hughes <tom@compton.nu>
Thu, 19 Feb 2009 13:47:43 +0000 (13:47 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 19 Feb 2009 13:47:43 +0000 (13:47 +0000)
commit10b71ba2f66c5bd9c71ab7385da3584ae741ee6e
treed1ecc0ae6e454433ee9724168c1bfd023d085e2e
parent41e10b09d0b063399d7a23e916d6c2d0d3782fe9
Add an ACL system to allow key/value pairs to be attached to blocks
of IP addresses, and implement an ACL restriction that allows account
creation to be blocked.
app/controllers/user_controller.rb
app/models/acl.rb [new file with mode: 0644]
app/views/user/new.rhtml
db/migrate/018_create_acls.rb [new file with mode: 0644]
test/fixtures/acls.yml [new file with mode: 0644]
test/unit/acl_test.rb [new file with mode: 0644]