Home Forums WC Vendors Pro Support Only allow administrators to see wp-admin

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #53044
    Nicholas
    Participant

    Hello I checked the feature: Only allow admins to see the wp-admin dashboard.
    Now I would like to exclude managers from this. If a user has the manager role they should also be able to see and enter the wp-admin dashboard.

    Cheers,
    Nicholas

    #53061
    Anna
    Member

    Hello,
    Jamie provided this code for another user that wished to allow the Shop Manager role to access the wp admin.
    HOWEVER- please take note that this piece of code must be removed after the Pro version 1.4.0 release- so do not update your Pro to 1.4.0 without first removing this code from your theme/child theme functions.php.
    https://gist.github.com/digitalchild/271cc5834b8a42a82c4bb7a4111dc82f#file-functions-php

    #53419
    Nicholas
    Participant

    Hello Anna.

    Thank you for providing the code snippet.

    Can I open a new ticket after the 1.4.0 release, regarding this piece of code?

    Regards,
    Nicholas

    #53514
    Anna
    Member

    Hello,
    I think it is crucial you remove this before updating because shop manager permissions have been given (bug fixed) in future code. For version 1.3.8 you need the fix I gave above. It will cause a conflict if used in 1.4

    #53720
    Nicholas
    Participant

    Thank you Anna.

    #61251
    Nicholas
    Participant

    Hello.

    I would like to allow shop managers and editors to access the wp-admin.

    How’s this possible?

    #61297
    Anna
    Member

    @nicholasagardy
    In WC Vendors Pro v1.4.0, shop managers are allowed access to the wp admin.

    #61355
    Nicholas
    Participant

    Hello.

    How do I allow i.e editors to access the wp-admin.
    Only vendors, pending vendors, subscribers and customers shouldn’t be able to access it.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.