[openstreetmap/openstreetmap-website] Create a UI for managing ACLs (PR #7375)

Andy Allan notifications at github.com
Wed Sep 9 19:04:48 UTC 2026


This allows administrators to manage ACLs, without having to either use the console or use the postgresql cli.

One outstanding question I have is about pagination on the index page. Is it necessary? I have no idea whether the production ACL list contains a couple of dozen entries, or a couple of thousand entries.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7375

-- Commit Summary --

  * Create a UI for managing ACLs

-- File Changes --

    M app/abilities/ability.rb (1)
    A app/controllers/acls_controller.rb (57)
    A app/helpers/acls_helper.rb (17)
    M app/models/acl.rb (1)
    A app/validators/inet_validator.rb (11)
    A app/views/acls/_form.html.erb (11)
    A app/views/acls/_navigation.html.erb (12)
    A app/views/acls/_row.html.erb (15)
    A app/views/acls/edit.html.erb (7)
    A app/views/acls/index.html.erb (29)
    A app/views/acls/new.html.erb (7)
    M config/locales/en.yml (44)
    M config/routes.rb (3)
    M test/abilities/administrator_ability_test.rb (8)
    M test/abilities/user_ability_test.rb (8)
    A test/controllers/acls_controller_test.rb (176)
    A test/helpers/acls_helper_test.rb (13)
    M test/models/acl_test.rb (13)
    A test/system/acls_test.rb (99)
    A test/validators/inet_validator_test.rb (28)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7375.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7375.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7375
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/7375 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260909/6882adfd/attachment-0001.htm>


More information about the rails-dev mailing list