• Resolved Shameem Reza

    (@codechef)


    I have custom user role, user as Client, Project manager, staff etc. I assigned client role to create tickets and staff to response ticket. But it seems not working.

    My user can’t create a ticket, and my staff user can’t reply. Is there any workaround to get the custom user role works? I even tried to create on behalf of a client using an admin user, but I couldn’t. Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support Ahsan Chowdhury

    (@ahsannayem)

    Hello @codechef ,

    The custom user role should work. We have also set some custom user role and they are working fine as it is supposed to be.

    For example, We have a user whose role is the moderator, and this user is set as a support staff. We used the following code to add this user role.

    add_role('moderator', __(
    'Moderator'),
    array(
    'read' => true, // Allows a user to read
    'create_posts' => true, // Allows user to create new posts
    'edit_posts' => true, // Allows user to edit their own posts
    'edit_others_posts' => true, // Allows user to edit others posts too
    'publish_posts' => true, // Allows the user to publish posts
    'manage_categories' => true, // Allows user to manage post categories
    )
    );

    Make sure you have given the right permission on the setting here: https://prnt.sc/6knlddUE-PIq

    However, if everything is correct and still not working, you are requested to open a support ticket. We will have a further look.

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Custom User Role’ is closed to new replies.