nextcloud / nextcloud/cookbook

Upgrade Nextcloud annotations to attributes

Open
#2,602 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Backend good first issue maintenance
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

From #2601

OCA\Cookbook\Controller\RecipeController::import uses the @NoAdminRequired annotation and should use the #[OCP\AppFramework\Http\Attribute\NoAdminRequired] attribute instead

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at OCA\Cookbook\Controller\RecipeController::import and inspect how its current @NoAdminRequired annotation is declared. Update that declaration to the specified NoAdminRequired attribute, then verify the controller still loads and the method retains the intended access restriction.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authorization, backend
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.