Dealing with marking access errors in Code Repository

I have run into the marking access error “You are unable to update logic due to missing permissions on markings for inputs” in their Code Repo CI checks. Would enabling Security Approvals → “Allow changes to security markings in this repository” and disabling reapprovals allow me to edit my repo? Or, is their only option to gain access to all the markings in that repo?

The latter: a user is not able to write logic in a repository that handles marked data for markings they do not have access to.