Resolve StrongParams rubocop TODOs for params[:id] usage
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Label this issue](https://contributors.gitlab.com/manage-issue?action=label&projectId=278964&issueIid=588963) </details> <!--IssueSummary end--> Fix StrongParams rubocop violations for controllers using params\[:id\] without strong parameters. This subset is from https://gitlab.com/groups/gitlab-org/-/work_items/14255+s ## Files to fix (20 total) #### Batch1: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/222377+s 1. app/controllers/activity_pub/projects/application_controller.rb 2. app/controllers/admin/applications_controller.rb 3. app/controllers/admin/keys_controller.rb 4. app/controllers/admin/projects_controller.rb 5. app/controllers/admin/runners_controller.rb 6. app/controllers/admin/users_controller.rb #### Batch2: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/222597+s 1. app/controllers/autocomplete_controller.rb #### Batch3: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/222625+s 1. app/controllers/concerns/analytics/cycle_analytics/stage_actions.rb 2. app/controllers/concerns/find_snippet.rb 3. app/controllers/concerns/integrations/actions.rb 4. app/controllers/concerns/membership_actions.rb 5. app/controllers/concerns/preview_markdown.rb 6. app/controllers/concerns/web_hooks/hook_log_actions.rb 7. app/controllers/concerns/access_tokens_actions.rb #### Batch4: 1. app/controllers/groups/application_controller.rb 2. app/controllers/groups/boards_controller.rb 3. app/controllers/groups/clusters_controller.rb 4. app/controllers/groups/group_links_controller.rb 5. app/controllers/groups/labels_controller.rb 6. app/controllers/groups/milestones_controller.rb ## Refactoring options 1. Inline permit: params.permit(:id)\[:id\] 2. Create a private method to permit params once, then reuse it
issue