Skip to content

Org admin users can not access org project #25670

Open
@yp05327

Description

@yp05327

Description

Thanks @kerwin612 for reporting this issue.

In some special cases, org admin users can not access org level project unit.
I also noticed this issue several month ago, but I can't reproduce this issue again, so I didn't report this bug.

But @kerwin612 also reported this issue today, so it seems that this is a reproducible issue.

This issue can be fixed by some magic operations:

  • convert the permission into General Access, you will see the permission of project unit is No Access.
  • convert it into Write, and save.
  • convert the permission into Administrator Access, and save.
  • Now the team will become a real admin team :)
  • Then no matter what permission you set in General Access, Administrator Access would work well.

ps: I also can't reproduce this issue now in a new 1.19.3 Gitea instance or an old 1.18.5 instance update to 1.19.3

Edit:
I misunderstand this issue, admin users can not access org level project unit, not repo level project unit.
I can reproduce this issue now, let's fix it. 😄

Gitea Version

1.19.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

self host

Database

None

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions