Monday, February 5, 2018

List Custom Fields: Not Authorized to View This Section

A client requested additional fields to be added. He wanted to have 4 additional fields added for First and Last name of 2 additional contact persons.

However, upon clicking "List Custom Fields", it showed "You are not authorized to view this section".

*There's not much information available on the List Custom Fields topic so I'm not sure if this section will fulfill the requirements of our client.

Upon googling "admin_lists_custom.php not authorized", I found this on Github.
if ( ($LOGcustom_fields_modify < 1) or ($LOGuser_level < 8) )
{
echo "You are not authorized to view this section\n";
exit;
}
Knowing this, I made sure of that:

  • My User Level is above "8" - User 6666 is 9 by default.
  • My Custom Fields Modify (in Admin Interface Options) is set to "1" - User 6666 is set to 0 for this by default.


With these changes, I was able to access the List Custom Fields section.



Now, I have a different problem (localhost connection) with submission of my entries but this post will be for another day.

Notes: Not all versions of Vicidial have the List Custom Fields option. It may be better to consider re-purposing existing fields.