[openstreetmap/openstreetmap-website] Communities - communities (PR #3717)
Brian DeRocher
notifications at github.com
Fri May 31 01:01:13 UTC 2024
@openbrian commented on this pull request.
> @@ -59,6 +71,15 @@ class UserAbilityTest < AbilityTest
assert ability.cannot?(action, Issue), "should not be able to #{action} Issues"
end
end
+
+ # This does not take into account object level access control.
Yes. Anyone can create a community. But a community can only be edited by its owner. I've added test cases.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3717#discussion_r1621557552
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3717/review/2089627638 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240530/bad1499a/attachment.htm>
More information about the rails-dev
mailing list