Skip to Content Skip to Menu

[SOLVED] Core Fields Ajax permissions issue

  • systems
  • systems
  • OFFLINE
  • Posts: 25
  • Thanks: 6
  • Karma: 0
5 years 9 months ago - 5 years 9 months ago #309695 by systems
Hi again!
I have configured a text field to allow front end inline editing on the profile. It works fine when logged in as an admin but not as a registered user.
I have been through all settings for the tab, field, user, and plugin and cannot find the problem.I get the following error in the element inspector on the page.
"Error: Syntax error, unrecognized expression: You are not authorized to view this page!"
The URL is mydomainhere.com/index.php?option=com_comprofiler&view=fieldclass&field=cb_thriveanswer&function=ajax_edit&user=393&reason=profile&cbsecuritym3=cbm_6020dd58_0d136560_4a2a38ddafa30b43c23afe53173eeeda&cbrasitway=cbrv1_44357ae3777ae79ef23c37b0b15f0c53_IqT0mLhSmpue4ICC&Itemid=441&format=raw

The field is editable when the registered user enters profile edit.
The inline editing works when I make the registered user an Admin.

The image shows the setting for the field
Is this by design or have I configured something wrong?
Attachments:
Last edit: 5 years 9 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
5 years 9 months ago #309708 by krileon
Replied by krileon on topic Core Fields Ajax permissions issue
The owner of the profile should be able to use the ajax edit as well, but looks like the ajax endpoint is being blocked entirely. Ensure "Profile View Access Level" within CB > Configuration > User Profile is set correctly. It should be set to something the user can access.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • systems
  • systems
  • OFFLINE
  • Posts: 25
  • Thanks: 6
  • Karma: 0
5 years 9 months ago #309731 by systems
Replied by systems on topic Core Fields Ajax permissions issue
Perfect, that worked. I didn't think to look there!
Thanks krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum