Forum Replies Created
04/10/2020 at 15:35 in reply to: How to keep subsite user permissions #7062
Thanks, I have already done all these. My problem is with the CPTs. If I Update Network, user roles loses their capabilities of the CPTS in each subsite because as you said it overrides the settings. I did create the exact same CPTs in the main site and now they appeared in the menu but posts are missing and I cannot create a new one. So, I deleted the CPTs from the main site and left it only in the subsite. But now, even if I have granted access to the capabilities of these CPTS, the user role has no acces, I get the message “Sorry, you cannot edit”. But I have checked the edit_prosforas, edit_others_prosforas, read_prosforas etc, everything that is related to this CPT. Did I mess up everything? It is a very complicating thing Roles and Capabilities.04/10/2020 at 14:42 in reply to: How to keep subsite user permissions #7060
Replying to my post, I created the same CPTs in the main site with the same Capability Type as in the subsite and it worked. I just need you to verify that this is the right way. Thanks.03/10/2020 at 13:06 in reply to: Restrick backend access on main site of network #7058
Hi, thank you for the reply but I am not sure I uderstand correctly. All I need is every user who will be a subscriber, he can be an administrator of his subsite and have no access to other subsites. I will split it in steps.
MAIN SITE: Sells subscriptions (BASIC & ADVANCED)
USER A: Buys subscription BASIC (gets the BUSINESS MANAGER role)
USER B: Buys subscription ADVANCED (gets the BUSINESS MANAGER role)
At the moment users are just subscribers with the BUSINESS MANAGER role and can edit their custom page in the main site.
MAIN SITE: Creates a SITE A and makes USER A the administrator of SITE A (additional user role BASIC MANAGER)
MAIN SITE: Creates a SITE B and makes USER B the administrator of SITE B (additional user role ADVANCED MANAGER)
In conclusion, both users have the BUSINESS MANAGER ROLE and their extra role and both are administrators on each sub site. Can USER A login to SITE B? In the users list of each subsite there are only the super admin and each administrator, USER A on SITE A and USER B on SITE B. Since USER A is not listed in the SITE B user list, is it possible to login with its credentials? I don’t want that. Thanks, I hope it is not complicated.15/01/2020 at 15:36 in reply to: Limit Access to custom post types #6569
Hi Vladimir, I use the CPT UI plugin to create 3 custom post types BLOG, PROGRAMS and PERSONEL. In each custom post I have set accordingly “blog”, “programs” and “personel” as Capability type. Then in user role editor I have created capabilities for each type (create_blog, edit_blog, read_blog, delete_blog, publish_blog) and so on for programs and personel. If a user role has all this new types enabled he can see only the blog CPT in the admin menu. The other 2 capabilities seams to not work dispite that I have already enable them. BUT, if in the CPT UI “PROGRAMS”, I change the Capability type to “blog” then the user can see the PROGRAMS in the admin menu. I am not sure if there is something else that I have to set. (Of course “Force custom post types to use their own capabilities” is enabled from the beggining). Thank you for your time in advanced.