Fixes #6366/BZ1112865 - restore readonly product functionality.

When replacing the authorization system we removed the logic
that determines whether or not a product is read only.  This commit
restores that logic.