Describe the bug
After creating a role with all core and ostree permissions, an user is not able to use import-all commits of an ostree repo into a pulp repo.
It is possible to use the same command as an super-user and get the content uploaded without errors.
To Reproduce
The role is created using the following payload:
Version pulpcore 3.54.0 pulp_ostree 2.3.1
Describe the bug After creating a role with all
core
andostree
permissions, an user is not able to useimport-all
commits of an ostree repo into a pulp repo. It is possible to use the same command as an super-user and get the content uploaded without errors.To Reproduce The role is created using the following payload:
Then you assign this role to a non-admin user.
pulp user role-assignment add --username <non-admin-user> --role edge_ostree.admin --object ""
after that, try to import an repo:
and you'll receive a message about an operation that is not permited.