Skip Navigation

[Resolved] Edit listing on front end

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like that each user view/edit only his own posts.

Solution:
The view should have a filter on the post_author http://prntscr.com/rxebb1

Relevant Documentation:
https://toolset.com/documentation/user-guides/views/filtering-views-query-by-author/

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by huwE-2 4 years, 9 months ago.

Assisted by: Jamal.

Author
Posts
#1582395

On our website we have a link on the my account page that allows logged in users to edit their listed products. It has been pointed out that all users can see all the products. I want to only show the listings that are linked to the specific user.

Can you please let me know how I can achieve this.

Also I wondered if you could check that we have set up the permissions so that users can edit their listing as they are set to a customer profile and not administrator level

#1582419

Hello and thank you for contacting the Toolset support.

The view needs to have a filter on post_author equal to the current user. Check this screenshot hidden link

About permissions, are you using Toolset Access to manage the permissions for the custom post?

Can you allow me temporary access to check further? Your next reply will be private to let you share credentials safely.
** Make a database backup before sharing credentials. **

#1582423

HI,

Thanks for coming back to me, I have edited the post user query and have reviewed the access permissions and am happy this is now sorted.

Thanks again

#1582425

My issue is resolved now. Thank you!