It is necessary to configure access rights for the WP Project Manager plugin v 2.6.1
Currently, a registered user receives the WordPress role: Subscriber. And automatically (configured access rights) the role in WP Project Manager: pm_manager.
I have set these configurations so that in this case, the Subscriber can fully manage projects.
However, they should have access to projects that they created themselves or purchased in the store (in this case, they are assigned the local role "Client"). Only these projects can they duplicate and modify. Other projects from other managers should not be displayed to the subscriber.
Let me remind you that WordPress has the following roles:
Project Subscriber
Shop manager
Customer
Translator
Subscriber
Contributor
Author
Editor
Administrator
WP Project Manager has 2 types of roles (global: pm_admin, pm_manager) and local roles that relate to a specific project:
Manager
Co-worker
Client
That is, upon registration, the visitor automatically receives the role Subscriber from WordPress and is automatically assigned the global role of the WP Project Manager plugin: pm_manager
A filter is needed for the pm_manager role, so that they see only their projects and also can create their own new projects (that is, the "New Project" button should remain available for Subscriber)
Client's website: https://rapahub.com/