Skip Navigation

[Resolved] Can't give access to edit post

This support ticket is created 7 years 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 8 replies, has 2 voices.

Last updated by jean-jacquesV 7 years ago.

Assisted by: Nigel.

Author
Posts
#599609

I am trying to: give access to my user to edit custom post type

I expected to see: my edit post

Instead, I got: redirect to error page

#599725

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

You mean edit in the front end? The back end?

What you you done to give your user access to edit the custom post type?

Can you show me the relevant access settings?

#599749
Capture.PNG

Hello,

Thank you for you quick answer ! and sorry for my english i'm french

I would like to give edit access to my users,Chercheurs, on the front end.

you will find attach my access settings, i give them edit own, delete own, preview any and read.

To edit i have a view where i have all their posts and within each post this link

[toolset-edit-post-link layout_slug="copie-detemplate-for-annonces"]<div class="default-btn-shortcode dt-btn dt-btn-m btn-inline-middle">Modifier votre demande</div>[/toolset-edit-post-link]

my layout_slug is to display content in a good design

Can you help ?

Thanks

#599784

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

So what exactly is the problem?

According to what you have shown me, your Layout "copie-detemplate-for-annonces" should contain a CRED Edit Form for the Annonces post type.

Does it?

What happens when you click the edit link? Or are the edit links not displayed?

#599873
Capture1.PNG

The problem is when I click on my link with a profil Chercheurs It goes to the redirection page (like i'm not authorize to acces it). If i do it with my admin account it does work.

The layout does have a cred form cf screenshot

The link is displayed with both profil (admin & chercheurs)

Thank for your help

#599888

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for clarifying.

You need to check the Access settings for the CRED form.

Go to Toolset > Access Control and then to the CRED Forms tab and make sure that the role has rights to use the CRED forms.

#599907
Capture3.PNG

already done see my screenshot below

#599913

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Could you please make one last test, and if that doesn't change anything I will need to get a copy of your site.

Could you please switch theme to twentyseventeen and disable all non-Toolset plugins to remove any possible conflicts.

Otherwise, you can make a copy of your site available as described here: https://toolset.com/faq/provide-supporters-copy-site/

I'll mark your next reply as private in case you are sharing the site details with me.

#599965

Nigel,

I found it, it was another acces tool. I'm sorry for bothering you with that.

Thank you for your help.