fix: revert restriction for project write permission, any user is currently allowed to add an issue to a project

This commit is contained in:
Robert Wolff 2026-05-28 10:22:45 +02:00
parent 3634ce5d47
commit df3a2f331e
No known key found for this signature in database
GPG key ID: 1614C70AD69A61A1

View file

@ -4,7 +4,7 @@
<div class="ui container padded">
<div class="tw-flex tw-justify-between tw-items-center tw-mb-4">
{{template "repo/issue/navbar" .}}
{{if and $.CanWriteProjects (not $.Repository.IsArchived)}}
{{if (not $.Repository.IsArchived)}}
<a class="ui small primary button" href="{{.RepoLink}}/issues/new/choose?project={{.Project.ID}}">{{ctx.Locale.Tr "repo.issues.new"}}</a>
{{end}}
</div>