nextcloud / nextcloud/cookbook
Upgrade Nextcloud annotations to attributes
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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