Skip Navigation

[Resolved] Access Control Group Content tempalte redirect – with Custom post Type & Plugin

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.

This topic contains 3 replies, has 2 voices.

Last updated by Waqar 6 months, 1 week ago.

Assigned support staff: Waqar.

Author
Posts
#1573869
standard page - works ok.gif
Post Group.jpg
Custom Post Type - shouldnt be rendered.gif
Content Template.gif
Access Controls.gif

I am logging this the yourselves and the plugin author.

With User Menus Plugin enabled (hidden link)

When creating an Access Control Post Group and connecting it to a custom post type that has been created.

When setting the user permissions if you use a content template to redirect the user with no permissions ... it doesn't restrict you from seeing the custom post type and doesn't show what you have on the content template.

[The idea eventually is for the content template to run a meta refresh to ask them to register or login]

This content template option does work however if you have selected a "standard" WordPress page... just not if its a custom post.

Here re some pics to help understand.

For now I have just setup custom 404 page that asks them to login...

#1575181

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Stuart,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot and suggest the next steps, I'll need to see exactly how the access settings are set up.

Can you please share temporary admin login details along with the link to some example page that shouldn't be showing?

Please also let me know which was the user that you were testing this with.

Note: Your next reply will be private and though no changes will be made on your website, please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1581443

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Stuart,

Thank you for waiting and for sharing these details.

During troubleshooting, I was able to reproduce this issue on my test website as well.

When an Elementor template is assigned to a page/post, Toolset Access' post group settings are overridden.

We appreciate your report and I've shared these findings with the concerned team.

I'll keep you updated on the progress through this ticket.

regards,
Waqar

#2025967

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for waiting and I apologize I couldn't follow up on this sooner.

Here is the feedback I've received from the concerned team.

The way Access Post Group restrictions work, it is expected that if you want Toolset to be able to influence the template used for posts, then Toolset templates and not Elementor templates, should be used.

If the use of the Elementor template can't be avoided, then the workaround that you're already using of showing the 404 page to the users without the read permission, should work just fine.

regards,
Waqar