mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-05-28 11:14:54 -04:00
fix: revert restriction for project write permission, any user is currently allowed to add an issue to a project
This commit is contained in:
parent
3634ce5d47
commit
df3a2f331e
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue