• Resolved nadiaam67

    (@nadiaam67)


    base on your documantaion add capability to roles I add a new capability to my three differente rolles

    $role_company = get_role( 'um_company' );
        $role_company->add_cap( 'view_ticket' );
        $role_company->add_cap( 'create_ticket' );
        $role_company->add_cap( 'close_ticket' );
        $role_company->add_cap( 'reply_ticket' );
        $role_company->add_cap( 'attach_files' );

    but i still get the error, how can i fix this?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author yeisonbp

    (@yeisonbp)

    Hi @nadiaam67,

    Please try yo use the User Role Editor Plugin to add the capabilities to your roles from their interface and let us know if this works.

    Regards.

    Plugin Author yeisonbp

    (@yeisonbp)

    I will mark this topic as solved, but if you have any other questions, please let us know.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to handle error You do not have the capacity to open a new ticket?’ is closed to new replies.