View scheduled pipeline config without taking ownership
Problem
In our company setup there are several users who can/should create and run scheduled jobs. This, in the end means that there are a couple of jobs set up all around. However, in Gitlab there is no way to only view the setup of a job, only after taking it over from its owner.
A "View" option would be a really nice addition to the current feature set.
Customer is requesting the ability to view the cron rule, or a translation of it into prose; the timezone for the cron rule; its next scheduled run; and whether it's active or not.
Proposal
I think we can accomplish this solely on the FE without having to dig into permissions etc.
- Cron: We could add an info icon beside the next run that when hovered displays the cron info or a new table column
- Timezone: We could add a new column and display this data in the table
- Next run: Next schedule run is already displayed
- Active state: If the pipeline schedule is not active, the next run column already shows
Inactive
instead of the next run date.
And the only thing a user without edit access would not have access to in the table would be the variables. If we go this route this issue probably could be scheduled earlier since we won't need BE and FE resources.