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
⚙️ User Permission Setup
-
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. -
Now to add permission for
candidate
role, click the oncandidate
from the list.Then click on
Metajob-backend
, this will open all the API lists.Now give
candidate
permission for the API's.- APPLIED-JOB
- AVG-SALARY
- BOOKMARK
- CHAT
- EMAIL-HISTORY
- EXPERIENCE-LEVEL
- MESSAGE
- RESUME
- SALARY-TYPE
- SKILL
-
Now to add permission for
employer
role, click the onemployer
from the list.Then click on
Metajob-backend
, this will open all the API lists.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