I remember before RBAC we used write_only fields because we had to (we had no RBAC). Now with RBAC it doesn’t make sense why we would continue doing that. It’s much less useful for users. Here’s my argument in favor of discontinuing that practice.
If a user is authorized to read all attributes of an object (RBAC enabled) and the connection is TLS wrapped (the default) why shouldn’t they read all attributes?
There are two concerns driving this:
- We need to make Pulp as simple as possible.
- A user who isn’t sure if the password is set correctly can’t even check it.
This design aspect is coming up now because now we’d need to make a “generalized” version of that for this PR.