• Hello!

    How could I deny capability for deleting Attributes and maintaining access to Attributes page?

    There is capability to deny deletion of Attribute Terms, but not for Attributes.

    Do I have a chance to do that?

    Thank you

    • This topic was modified 2 months, 1 week ago by pickme.
    • This topic was modified 2 months, 1 week ago by pickme.
    • This topic was modified 2 months, 1 week ago by pickme.
    • This topic was modified 2 months, 1 week ago by pickme.
    • This topic was modified 2 months, 1 week ago by pickme.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Caseproof

    (@caseproof)

    Hi @pickme

    Could you provide more details about the Attributes? Do you mean Page Attributes that you can find in the sidebar of the page?

    Best

    Hi @caseproof,

    I do not mean on frontend. I am mean on the backend / wp control panel of a Shop Manager role.

    I use WooCommerce. I would like to deny/hide the ‘Delete’ capability of Attributes on Page > WP Control Panel > Products > Attributes, and I would like the Attributes Page to be able to be viewed by the Shop manager.

    I was able to deny deletion of attribute terms but could not deny deletion of the attributes themselves.

    Just to be more clear > Each Attribute has many attribute terms.
    Please let me know if I am clear now.

    Thank you!

    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    • This reply was modified 2 months, 1 week ago by pickme.
    Plugin Author Caseproof

    (@caseproof)

    Can you try to grant access to Product: Manage Taxonomy Terms to display Attributes page and deny access to Product: Delete Taxonomy Terms capability under WooCommerce group and see if that helps? Here is the screenshot for reference: https://share.cspf.co/JrugdnjW

    Thanks

    pickme

    (@pickme)

    Hi @caseproof,

    I don’t see Woocommerce tab (group) in the list of Shop Manager. In addition, clicking on All, there are no such capabilities, manage_taxonomy_terms or delete_taxonomy_terms.

    No success with it. Could you please elaborate more?

    Thank you

    • This reply was modified 2 months ago by pickme.
    Plugin Author Caseproof

    (@caseproof)

    In order to see WooCommerce group on the role page, you would need to have “Members – WooCommerce Integration” add-on activated on the Members → Add-ons page. Here is the screenshot for reference: https://share.cspf.co/rRu0p9On

    Hopefully, that helps.

    pickme

    (@pickme)

    Hello,

    I activated woocommerce integration add on.

    Unfortunately when I deny Products: Delete Taxonomy Terms, taxonomies can be deleted, and only taxonomy terms cannot be deleted.

    I wanted to deny deletion of taxonomies a.k.a. attributes (not their terms), deny deletion of taxonomy terms, grant assigning of taxonomy terms and capability to view attributes page with no capability of deleting attributes.

    The only way to deny deletion of attributes is to deny Products: Manage Taxonomy Terms (hiding attributes page), but dening that, it also denies assigning taxonomy terms while Products: Assign Taxonomy Terms is granted!

    Could you please look into this?
    Thank you very much!

    • This reply was modified 2 months ago by pickme.
    • This reply was modified 2 months ago by pickme.
    • This reply was modified 2 months ago by pickme.
    • This reply was modified 2 months ago by pickme.
    • This reply was modified 2 months ago by pickme.
Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.