Skip to content

User don't have permission for own Org #2714

@JakobDev

Description

@JakobDev

Component

other

Describe the bug

Please take a look at this issue on Codeberg. I found out what causes this problem. See this comment for details. #2126 added a Org for each user. But it looks like there was a mistake in the Migration, so the Users don't have access to their Org. https://ci.codeberg.org/api/user say my Org ID is 592, but https://ci.codeberg.org/api/orgs/592 gives me a 403.

System Info

{
    "source":"https://github.com/woodpecker-ci/woodpecker",
    "version":"next-62e1081b24"
}

Additional context

I'm just a User and not the Admin of this instance, so I can't give you detailed technical information, but I want to share my findings.

Validations

  • Read the Contributing Guidelines.
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
  • Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingforge/giteagitea forge relatedregressionfix a bug that was not released yet

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions