Support Forum ยป User Profile

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: โœ…Custom Capabilities not working #27463
    MorganMorgan
    Participant

    I figured it out! the Portfolio CPT was using the same name for the Plural Name and Singular Name fields. Both fields were set to 'Portfolio', which was causing it to not work correctly even with all capabilities assigned to the admin profile.

    Would you consider this a bug?

    in reply to: โœ…Custom Capabilities not working #27462
    MorganMorgan
    Participant

    Hi again. My apologies, I have some additional information.

    It seems like Custom Capabilities for a CPT is working with every new CPT I create except for the first one I created two days ago (Portfolio). No matter what I do, the Portfolio CPT with Custom capability doesn't work correctly, but if I create new CPTs with Custom Capability and then update the Admin profile they all work perfectly.

    Any ideas why one specific CPT would not be working correctly?

    in reply to: โœ…Custom Capabilities not working #27461
    MorganMorgan
    Participant

    Hi.

    As I said very clearly in my original post, I've already done this. I have access to all capabilities for the CPT but it does not show up in the UI.

    I believe it may be related to this other issue that you acknowledged a few weeks ago - https://support.metabox.io/topic/faulty-capability_type-argument/

    The Custom Post type capabilities are being logged in the database as "custom". If I update the database to change 'custom' to 'portfolio', I am able to see the CPT in the UI, but then I only get 5 new capabilities in the CPT in User Role Editor plugin instead of 10, and I am no longer able to insert a new record into the CPT.

    I believe this plugin is broken, have you tested this yourself?

Viewing 3 posts - 1 through 3 (of 3 total)