You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If users also have code write permission, they can delete wiki pages.
So delete wiki pages needs write permission of both Code and Wiki.
But users can create/edit wiki page if they have only wiki write permission.
Backend only check wiki write permission:
Have no idea about the correct design.
Gitea Version
1.20.0+dev-449-g8d21b6925
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?
gitea.com
Database
None
The text was updated successfully, but these errors were encountered:
Description
Background error:
If users also have code write permission, they can delete wiki pages.
So delete wiki pages needs write permission of both
Code
andWiki
.But users can create/edit wiki page if they have only wiki write permission.
Backend only check wiki write permission:
Have no idea about the correct design.
Gitea Version
1.20.0+dev-449-g8d21b6925
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?
gitea.com
Database
None
The text was updated successfully, but these errors were encountered: