Skip Navigation

[Resolved] Custom fields of custom pots type only appears wih admin role

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

Problem:
Custom fields of custom pots type only appears wih admin role

Solution:
This issue is fixed with Toolset Access version 2.8.

Relevant Documentation:

This support ticket is created 5 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

Author
Posts
#1200894
Captura de pantalla 2019-02-15 a las 12.10.42.png
Captura de pantalla 2019-02-15 a las 12.10.32.png
Captura de pantalla 2019-02-15 a las 12.09.54.png

I am trying to:

To edit custom fields of custom post type in edit page of custom post type.

I have a custom role (gestor2) to create and edit this custom post type and custom fields of custom post type.

Only the admin role can edit this fields and not other users with custom role.

The custom post type is Obras

Custom fields are Campos de obras assigned to obras

Only administrator can edit the custom fields.

Any help?

#1200925

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - As I understand you want to give permission to user created with "gestor2". role so that they can able to edit custom field group. I need to check the permissions assigned to the role "gestor2".

Can you send me access details of the user who is assigned with role "gestor2" as well as user with administrator role. I need those two users.

I have set the next reply to private which means only you and I have access to it.

#1200937

Hi Minesh!

Here is the data:

Administrator
User: Minesh
Pass: Toolset2019

Gestor
User: davidg
Pass: Toolset2019

#1200958

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I do not know using which role you created the role "gestor2". Can you please share exact steps you follow that should help me to reproduce this issue?

#1201019
Captura de pantalla 2019-02-15 a las 15.43.34.png
Captura de pantalla 2019-02-15 a las 15.41.55.png

Hi Minesh

Gestor2 is a role for user that can create, edit and delete obras.

I just created this role in this way

Custom roles -> Create a new role -> Name of role. After this I went to Post types and give to Gestor all permissions to administrate any Obra. After this I went to custom post types fields anf ai give to that rols permissions to see and edit Campos de obras.

If i create another custom role to do the same thing with obras and campos obras doesn't work. It impossible to administrate obras and campos de obras if you're not administrator

Try to create a custom role to administrate obras and campos de obras.

#1201171

I think that There is an issue. I just created a new Site with custom post types and custom fields... And only administrator can see custom fields

#1201252

I just created 3 new sites. Always the same problem. Old sites work fine, but all sites created recently not. User with Custom role can't edit custom fields of post types.

I wait for you support Minesh.

Thanks!

#1201544

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - I see few users reported the similar issues that they can only see the custom fields as administrator role user but not with author role.

This is a known issue with the author role for now. We already escalated this issue to our next level support. Please hold on for further update.

#1201762

It doesn't work with custom roles (not only author role).
I'll wait for news.
Thank U Minesh

#1201768

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - I'll update you as soon as I've something to share. Please kindly hold on for further updates.

#1202829

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to inform you that we just published new version that is Types 3.2.6 and Access 2.6.2 which includes the hot fix to resolve the custom field display issue.

*** Please make a FULL BACKUP of your database and website.***
Could you please update ALL Toolset plugins to it's latest official release version.
=> https://toolset.com/account/downloads/

OR

Please try to update all other Toolset plugins using installer. Please check the following Doc:
=> https://toolset.com/faq/how-to-install-and-register-toolset/#automatic-installation-once-you-have-types-plugin-installed

#1209985
Captura de pantalla 2019-03-05 a las 13.03.56.png

Hi there. The problem is not solved. I installed the update, and custom roles can access to previous created custom post types, but if I create a new custom post type... the custom role can only visualize it,. He can't edit or create.

#1210311

Hi. If i enter with custom role user... I can create custom post type (secciones) but I cannot delete or edit custom post type (secciones) created by admin user

#1210496

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - have you checked for the custom role you created does that custom role has been assigned with the sufficient permissions so that you able to edit/delete posts created by other users.

#1210500
Captura de pantalla 2019-03-06 a las 11.54.47.png

Yes. You have the user and pass to enter at my website. You can check it.

If I enter with custom role gestorweb... I can create new custom post types but I can't edit or delete custom post types created by admin. I only can create, edit or delete my own custom post types (created by custom role gestorweb).

Thanks Minesh