Reduce required access level for dry-run #12036
Labels
priority-4-low
Low priority, unlikely to be done unless it becomes important to more people
type:feature
Feature (new functionality)
What would you like Renovate to be able to do?
We are pretty stringent about following the principle of least privileges in our development environment. We therefore tried to reduce the GitLab role of the user performing Renovate dry runs from
Developer
toReporter
which should be no problem for read-only operations.Now we noticed that this causes Renovate to not find any projects (we're using autodiscovery with filters) and pin-pointed this to the project query at https://github.com/renovatebot/renovate/blob/main/lib/platform/gitlab/index.ts#L138 where only projects with access level
30
(forDeveloper
) and above are retrieved.If you have any ideas on how this should be implemented, please tell us here.
Do you think it would make sense to reduce this level to
20
(Reporter
) when Renovate performs a dry-run?Is this a feature you are interested in implementing yourself?
Yes
The text was updated successfully, but these errors were encountered: