Forum Replies Created

Viewing 15 posts - 631 through 645 (of 2,506 total)
  • Author
    Posts
  • in reply to: Post edit access enhancements #6612
    Vladimir
    Keymaster

    Thank you for the suggestions. I will take them into account for further development.

    Vladimir
    Keymaster

    Hi,

    Set ‘access error action’ for page B to ‘404 HTTP error’. This option excludes page from all WordPress listings.

    in reply to: how to use siteorigin page builder to get role #6603
    Vladimir
    Keymaster

    Generally to check needed permissions for admin menu item: open “Admin menu” for the ‘Administrator’ role and look at the “Capability” column for the menu item.

    Some plugins may use conditional check before create admin menu – if user has administrator role. I need access to the source code of plugin in order to look what permissions it requires. If you need further help share plugin’s .zip via Google Drive or DropBox (support [at-sign] role-editor.com ).

    Vladimir
    Keymaster

    Hi,
    Yes, it’s possible to exclude selected custom post type from the URE edit restrictions, according to the article you mentioned.

    Show a code which you tried to add to your functions.php file. Re-check, that events CPT ID you use in the code is the same as Calendar of events plugin really uses.

    in reply to: Woocommerce vendor – edit product orders #6600
    Vladimir
    Keymaster

    I retested. Capabilities list you granted is enough for changing order status.
    I suppose that some plugin may change default permissions/behavior. Can you deactivate temporally all plugins except WooCommerce and re-test?

    in reply to: Woocommerce vendor – edit product orders #6592
    Vladimir
    Keymaster

    I tested similar task recently and wrote related article:

    WooCommerce – view and edit orders only


    Re-check if you did not miss something.

    in reply to: Woocommerce vendor – edit product orders #6590
    Vladimir
    Keymaster

    It’s not important.

    in reply to: Woocommerce vendor – edit product orders #6587
    Vladimir
    Keymaster

    In order to edit order details user should be capable edit products. Try to add capabilities from the “Products” group. I hope it will help.

    Vladimir
    Keymaster

    You can use functions.php file which belong to active theme.

    Do you really have edit restrictions enabled and set for this user?

    in reply to: Woocommerce vendor – edit product orders #6584
    Vladimir
    Keymaster

    Hi,

    Does vendor can:
    1) see the list of orders?
    2) open order for editing?

    Vladimir
    Keymaster

    Hi,

    Yes, it’s possible. Go to “Settings->User Role Editor->Additional Modules” tab and turn ON the “Activate “Create” capability for posts/pages/custom post types” option.
    Pay attention that you need to go through existing roles, like ‘Author’, ‘Editor’ and grant them (if needed) ‘create_posts’, ‘create_pages’ capability. The same is correct for ‘Shop Manager’ role, to which you will have to grant ‘create_orders’ capability.

    in reply to: Hide functions of a plugin #6578
    Vladimir
    Keymaster

    Hi,

    The most probably ‘No’. If user has access to the list of items, he can to open selected item for editing. Generally WordPress and plugins use ‘edit_’ capability for access to the list of items, like ‘edit_posts’, ‘edit_products’. And we can not build read only access changing existing user permissions.

    in reply to: Attachments by Role #6573
    Vladimir
    Keymaster

    Update:
    If image was uploaded to Media Library and inserted into the post, its attachment record has that post ID as a post_parent.
    But if user just select existing image from Media Library to insert to the post B, its parent post A stays the same, older one. URE can not select/count such image as attachment to the post B, which is allowed for editing by current user. URE looks at this Media Library item as attachment to the post A.

    Please open one of the child pages allowed for editing, click “Isert media”, upload new image and insert it into the page. Then open “Media Library” under restricted user. He should see, such image. But he will not see images uploaded by others for posts/pages, which he can not edit.

    in reply to: Attachments by Role #6572
    Vladimir
    Keymaster

    Hi,

    Thanks for the report about this problem.

    Right, Media Library should show to restricted user attachments for all pages which he can edit. While child pages are included into the list of editable items automatically with the parent page, related attachments are not included for some reason. I will investigate the issue and try to find a solution.

    in reply to: Limit Access to custom post types #6570
    Vladimir
    Keymaster

    Hi @thebigbanik,

    URE’s “Force custom post types to use their own capabilities’ works only for CPT, which has capability type ‘post’ – default for WordPress.

    If you set other capability type for CPT you really should create capabilities list yourself, but look how WordPress does that for capability type ‘post’:
    create_posts, edit_posts, delete_posts, publish_posts, edit_publish_posts, edit_others_posts.

    So you have to add not edit_blog, but edit_blogs, etc. Add ‘s’ to the end, if did not insert special multiple form at the CPU UI plugin.

Viewing 15 posts - 631 through 645 (of 2,506 total)