Guides
How to Setup Roles

Role Setup

Here, we need to create two roles: Candidate and Employer to unlock all platform functionalities. It's important to maintain role-based user access to ensure that each user only interacts with features relevant to their role.

🧑 Creating User Roles

  1. From Strapi dashboard Go to Settings → Roles (under USERS & PERMISSIONS PLUGIN).

    Hello
  2. Add role candidate (use the same same for Name and Description)

    Example of creating candidate role:

    Hello
  3. Add role employer (use the same same for Name and Description)

    Example of creating employer role:

    Hello

⚙️ User Permission Setup

  1. From Strapi dashboard Go to Settings → Roles (under USERS & PERMISSIONS PLUGIN).

    Here you can see list of user roles (candidate,employer). If don't have create those first.

    Hello
  2. Now to add permission for candidate role, click the on candidate from the list.

    Hello

    Then click on Metajob-backend, this will open all the API lists.

    Hello

    Now give candidate permission for the API's.

    • APPLIED-JOB
    • AVG-SALARY
    • BOOKMARK
    • CHAT
    • EMAIL-HISTORY
    • EXPERIENCE-LEVEL
    • MESSAGE
    • RESUME
    • SALARY-TYPE
    • SKILL
  3. Now to add permission for employer role, click the on employer from the list.

    Hello

    Then click on Metajob-backend, this will open all the API lists.

    Hello

    Now give employer permission for the API's.

    • AVG-SALARY
    • BOOKMARK
    • CHAT
    • COMPANY
    • COMPANY-SIZE
    • EMAIL-HISTORY
    • EXPERIENCE-LEVEL
    • JOB
    • JOB-CATEGORY
    • JOB-TYPE
    • MEMBERSHIP
    • MESSAGE
    • PACKAGE
    • REVENUE
    • SALARY-TYPE
    • SKILL