Skip to content

Migrate annotations to attribute in 30 set #17

@come-nc

Description

@come-nc

From upgrade to 30 documentation:

  • Using the @PasswordConfirmationRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\PasswordConfirmationRequired] attribute should be used instead.
  • Using the @CORS annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\CORS] attribute should be used instead.
  • Using the @PublicPage annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\PublicPage] attribute should be used instead.
  • Using the @ExAppRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\ExAppRequired] attribute should be used instead.
  • Using the @AuthorizedAdminSetting annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\AuthorizedAdminSetting] attribute should be used instead.
  • Using the @SubAdminRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\SubAdminRequired] attribute should be used instead.
  • Using the @NoAdminRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\NoAdminRequired] attribute should be used instead.
  • Using the @StrictCookieRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\StrictCookiesRequired] attribute should be used instead.
  • Using the @NoCSRFRequired annotation is deprecated and the #[OCP\AppFramework\Http\Attribute\NoCSRFRequired] attribute should be used instead.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions