{"push_id":2384972794,"size":1,"distinct_size":1,"ref":"refs/heads/dev/issue-11075-perm-fixes","head":"bc7f491ecab7b39dab2c46135a422efb41b9ae24","before":"43b6cdd5a45d865af5181be42c9bc47709626933","commits":[{"sha":"bc7f491ecab7b39dab2c46135a422efb41b9ae24","author":{"name":"Mike Cantelon","email":"e788afca2fd76fa3ada2f6cee9778a585808dd2b@gmail.com"},"message":"Permission-related fix to menu items, refs #11075\n\nThis fixes a permissions-related issue preventing the \"Subjects\" and\n\"Places\" links from being displayed on the home page and in the \"Browse\"\nmenu.\n\nThe permission checking logic in the menu display relies on permissions from\nsecurity.yml files. The menu items meant to direct users to the index pages\nfor the place and subject taxonomies had paths that linked to the taxonomy\nbrowse action instead which would then redirect to the taxonomy index action.\nBecause of restrictions on the taxonomy browse action this was causing the\nmenu items for places and subjects not to appear in menus for\nnon-authenticated users.\n\nThis is fixed by:\n\n* Fixing an issue with the taxonomy module’s index action that prevented it\n  from working correctly when called with an ID as a GET parameter\n* Moving access control for the taxonomy module’s index action from\n  security.yml to the action logic so place and subject can be accessible to all\n* Changing the paths in the menu items for the place and subject taxonomies,\n  using a data migration, to so the menu paths aren’t reliant on the taxonomy\n  module browse action to redirect to the taxonomy module index action\n\nThis commit also removes some unnecessary logic from the taxonomy browse action.","distinct":true,"url":"https://api.github.com/repos/artefactual/atom/commits/bc7f491ecab7b39dab2c46135a422efb41b9ae24"}]}
{"actor":{"display_login":"qubot"}}