Hi there. I’m new to pulp, evaluating it for hosting artifacts (tarballs, rpms) usable by internal software deployments.
An initial goal is to set up a file repository/distribution, with certain users (& project CI jobs) able to upload files, and anybody to download files without authentication. That seemed like it should be a simple and common use case.
I’m using the Pulp in One Container under podman, and have created repository & distribution and successfully uploaded a file as the admin user; the file, manifest and directory listing are all publically visible.
But then to configure the upload side, I set up a group & RBAC content-guard. It appears that once the content guard is attached to the distribution, public (unauthenticated) access is lost - I get a 403.
No searching of documents & tutorials has come up with any solution.
Copilot suggested adding to settings.py
AUTHENTICATION_BACKENDS = [
'django.contrib.auth.backends.ModelBackend',
]
ANONYMOUS_USER_NAME = 'anonymous'
but that didn’t appear to make any difference.
What am I missing? If someone could point me in the right direction that would be much appreciated.
Pulpcore version:
3.113.0 - docker.io/pulp/pulp:latest