import {Type} from "@/interfaces/user";

export const PERMISSIONS = {
	generateCode: {
		student: ["corporate", "developer", "admin"],
		teacher: ["corporate", "developer", "admin"],
		corporate: ["admin", "developer"],
		admin: ["developer", "admin"],
		agent: ["developer", "admin"],
		developer: ["developer"],
	},
	deleteUser: {
		student: ["teacher", "corporate", "developer", "admin"],
		teacher: ["corporate", "developer", "admin"],
		corporate: ["admin", "developer"],
		admin: ["developer", "admin"],
		agent: ["developer", "admin"],
		developer: ["developer"],
	},
	updateUser: {
		student: ["teacher", "corporate", "developer", "admin"],
		teacher: ["corporate", "developer", "admin"],
		corporate: ["admin", "developer"],
		admin: ["developer", "admin"],
		agent: ["developer", "admin"],
		developer: ["developer"],
	},
	updateExpiryDate: {
		student: ["developer", "admin"],
		teacher: ["developer", "admin"],
		corporate: ["admin", "developer"],
		admin: ["developer", "admin"],
		agent: ["developer", "admin"],
		developer: ["developer"],
	},
	examManagement: {
		delete: ["developer", "admin"],
	},
};
