Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

hide button when the user does not have permission to create new

bsatarnejad69a7048637d1
diff --git a/frontend/src/app/modules/calendar/te-calendar/te-calendar.template.html b/frontend/src/app/modules/calendar/te-calendar/te-calendar.template.html
index ba1431f2ebd..3e410a0514c 100644
--- a/frontend/src/app/modules/calendar/te-calendar/te-calendar.template.html
+++ b/frontend/src/app/modules/calendar/te-calendar/te-calendar.template.html
@@ -3,7 +3,8 @@
[attr.data-indicator-name]="'table'"
style="position: relative">
- <button class="button te-calendar--create-button"
+ <button *ngIf="memoizedCreateAllowed"
+ class="button te-calendar--create-button"
[attr.aria-label]="text.logTime"
(click)="addEventToday()">
<op-icon icon-classes="button--icon icon-log_time"></op-icon>