Hi,
this nasty bug took many hours because I first thought it is a CBSubs permission problem/bug. After that I checked database tables, users tables, permissions tables, ...
Long story short:
If the PARAMS field is on a UNPUBLISHED TAB you get "Not Auhtorized" when editing/saving profiles in backend even with Super Users.
The params field itself is protected and can't be unpublished - for a good reason. BUT if you move the params field to a non published tab this check is worthless.
If the params field is missing the following check gets triggered and fails in
administrator/components/comprofiler/controller/controller.user.php (line 117)
Code:
CANT POST CODE HERE BECAUSE SERVER IS REJECTING IT
Method Not Implemented
POST to /forum/post not supported.
Apache Server at www.joomlapolis.com Port 80
If above mentions params field is missing on the backend view the required vars "approved" and "confirmed" are missing and the check fails.
A possible solution would be to add those params regardless if the params field is on a tab or not.
Tested and able to reproduce with CB 1.8 and CB 1.7.1
CB 1.8.0
Joomla 2.5.4