Hide primary button and search filter on roadmap for unauthorized users
Summary
When viewing the roadmap page guest users see a full filter bar and 'New Epic' button when they're not authorized to create epics. This happens when epics exist that have no start or due date.
| Example 1: When no epics exist | Example 2: When an epic with no start/due date exists |
|---|---|
![]() |
![]() |
We should at least remove the 'New Epic' button. Ideally we'd make these two views consistent.
Original Description
This probably has to do withee/app/policies/ee/group_policy.rb and :create_epic permission.
Alternatively, the primary button could be disabled for unauthorized users.
Example Project
- https://gitlab.com/groups/gitlab-org/gitter/-/roadmap
- https://gitlab.com/groups/gitlab-org/security-products/-/roadmap
| Example 1 | Example 2 |
|---|---|
![]() |
![]() |
Edited by John Hope



