I have installed and activated Toolset Access. The only thing I have done is create a custom role. I have not changed any role access rules. The site also has LearnDash installed. When Access is enabled, the sub-menu item of 'Groups' gets moved out of the LearnDash menu and is placed on the main menu. If I deactivate Access, it goes back where it belongs...under the LearnDash menu.
Hi there
I can see the issue on your site, and I reproduced it on my own site when adding LearnDash and the LearnDash Group Registration plugin.
No need to create a custom role, I simply had to activate Access.
I'll likely escalate this to our compatibility team, but first I'll see if I can identify where exactly it goes wrong to see if I can propose a workaround.
Please bear with me while I look into that.
I identified where in the code base this goes wrong, but I can't see any easy workaround to apply.
I've had to ask the developers to take a closer look, so I'm escalating this thread, and I'll get back to you when I have some feedback to share.
I took another look at this myself to see if I could identify a workaround, and realise the problem relates to how LearnDash registers the Groups custom post type, and it is relatively straightforward to filter the argument in question to correct that.
I've provided details in this erratum: https://toolset.com/errata/learndash-lms-groups-menu-item-in-wrong-position-if-access-active/
If you apply that workaround you should find the problem resolved.
Can I do this in an MU Plugin?
Actually, although the workaround fixes the issue, our developers identified a simple change they can make in Access that will bypass this problem altogether, in which case you won't need the workaround.
Please bear with us, we should have an update to Access before the end of the week (a release was due in any case).
The release will likely occur next week, but if you don't want to wait you can download the update from this link and update your site manually: https://toolset.com/patches/types-access.2.9.0.zip
If you experience any problems please create a new thread (I'll be off next week, if you create a new thread someone else will be able to help you).