I am trying to: Delete a relationship
Link to a page where the issue can be seen: hidden link
I expected to see: Delete a player
Instead, I got: Nothing
You can view this page with this user (non administrator)
user: manuel
pass: 43214321
You can ask me for an administrator user.
Best Regards
Hi, can you try these troubleshooting steps first?
- Temporarily activate the OceanWP parent theme, temporarily deactivate all plugins except Types, Views, and Forms.
- Test again. If non-admins are able to see the links now, reactivate your child theme and other plugins, one by one, until the problem returns.
- If the links are still not shown, I'll be glad to take a closer look. Please provide admin credentials in the private reply fields.
I'm able to click the link when I log in as "manuel" using the information you provided. Then I am redirected to a Form to edit the post. I also tested with the toolset User. Both Users are able to edit the post. I'm attaching a screenshot here. Am I missing something?
- What browser are you using? Can you try a different browser or device?
- Can you clear your browser cache and cookies and try again?
Hi again!
The "Edita este equipo" button is fine. The problem is the "Eliminar" link in the table. With "manuel" user the link appears but nothing does. I'm using this code in the view (this code works fine if the user is a admin)
[cred-delete-relationship role_items='$fromViews' relationship='equipo_tenista' redirect='self']Eliminar[/cred-delete-relationship]
Ah, I misunderstood. Thank you for the clarification. When I log in as manuel, I am unable to edit this post:
hidden link
I am redirected to the homepage of the site. However, in Toolset Access Control I can see that Coordinators should have the ability to edit Equipo Primer Semestre posts. So there seems to be a permissions issue preventing Coordinators from editing some post types. Is the "Coordinador" role created with Toolset Access, or created by another plugin or your theme?
When I inspect the network tab, I can see that clicking the Eliminar link triggers an AJAX request, but the response is "Usted no tiene permisos para eso", so this also points to a permissions issue.
When troubleshooting permissions issues you can try the following steps:
- Make sure no other plugins, theme files, or custom code is managing permissions. If so, temporarily disable it.
- Check the native WordPress "Post" post type permissions in Toolset Access. Ensure Coordinadors have all permissions for Posts (this is a temporary test).
- Check both Equipo Primer Semestre and Tenista post types. Both should be managed by Access, and Coordinadors should have all permissions for both post types.
If none of these steps solves the problem, there may be a permissions corruption in the database. If that is the case, I can work with a copy of your database to find the best solution. Let me know what you find out.
Hello, Christian.
You are unable to edit the post because I have a snippet to avoid to enter in the dashboard. I've deactivate the snippet now and you can to edit the post.
The roles were created with Toolset. But, now I've created a new rol named "Coordinadores" and I've gave the same permissions. But nothing changes...
I've checked the steps you said but all the checks are ok. Is a permission issue or is an issue with the new relationship tool?
It's difficult for me to say where the problem is coming from without inspecting the database. When you created the new custom role, Access gives you the ability to copy privileges from another role. When you created the Coordinador role, did you copy privileges from another role?
Yes, I copied from Editor role.
How can I give you access to the database? The problem is that this site is on a Multisite installation. I have access to the entire Multisite.
I have a copy of Duplicator Pro, which is pretty good at cloning Multisite instances and migrating them to a local test environment. If it's okay with you, I can install it and create a clone of the whole network. Otherwise, I can try to work with a database dump file. I will activate private reply fields here. You can share admin access, or share a link to download a database dump file.
Thank you. Unfortunately I was unable to figure this out by the end of my day, but I will be available again on Sunday to continue investigating. If you need more immediate assistance, feel free to start a new ticket and request assistance. Thanks!
I discovered that if I activate "manage_options" permission in General Capacities tab, the user can erase the relationship. It's enough for me.
Thanks a lot for your help.
Best Regards.