<?php


namespace Mamad\RolePermissions\Models;


class Permission extends \Spatie\Permission\Models\Permission
{
    const PERMISSION_MANAGE_SHOP = 'shop manager';
    const PERMISSION_MANAGE_Article = 'blog manager';
    const PERMISSION_MANAGE_USERS = 'manage users';
    const PERMISSION_SUPER_ADMIN = 'super admin';
    const PERMISSION_MANAGE_COMMENT = 'comment manager';
    const PERMISSION_MANAGE_ROLE_PERMISSIONS = 'manage role_permissions';
    const PERMISSION_MANAGE_PAGE = 'page manager';
    const PERMISSION_MANAGE_CONTACT = 'contact manager';
    const PERMISSION_MANAGE_NEWSLETTER = 'newsletter manager';
    const PERMISSION_MANAGE_MENU = 'menu manager';
    const PERMISSION_MANAGE_TAG = 'tag manager';
    const PERMISSION_MANAGE_CATEGORY = 'category manager';
    const PERMISSION_MANAGE_ATTRIBUTE = 'attribute manager';
    const PERMISSION_OPERATOR = 'operator';
    const PERMISSION_USER = 'user';
    const PERMISSION_TEAM_LEADER = 'team leader';
    const PERMISSION_Technical_Engineer= 'technical engineer';
    const PERMISSION_financial_Manager = 'financial manager';
    const PERMISSION_WORKER = 'worker';
    const PERMISSION_AFFILIATE = 'affiliate';
    const PERMISSION_SHOW_MANAGER = 'show manager';
    const PERMISSION_SEO_MANAGER = 'seo manager';
    const PERMISSION_PRODUCT_MANAGER = 'product manager';

    static $permissions = [
        self::PERMISSION_SUPER_ADMIN,
        self::PERMISSION_MANAGE_SHOP,
        self::PERMISSION_MANAGE_Article,
        self::PERMISSION_MANAGE_ROLE_PERMISSIONS,
        self::PERMISSION_MANAGE_USERS,
        self::PERMISSION_MANAGE_COMMENT,
        self::PERMISSION_MANAGE_PAGE,
        self::PERMISSION_MANAGE_NEWSLETTER,
        self::PERMISSION_MANAGE_MENU,
        self::PERMISSION_MANAGE_TAG,
        self::PERMISSION_MANAGE_CATEGORY,
        self::PERMISSION_MANAGE_ATTRIBUTE,
        self::PERMISSION_OPERATOR,
        self::PERMISSION_USER,
        self::PERMISSION_TEAM_LEADER,
        self::PERMISSION_Technical_Engineer,
        self::PERMISSION_financial_Manager,
        self::PERMISSION_WORKER,
        self::PERMISSION_AFFILIATE,
        self::PERMISSION_SHOW_MANAGER,
        self::PERMISSION_SEO_MANAGER,
        self::PERMISSION_MANAGE_CONTACT,
        self::PERMISSION_PRODUCT_MANAGER,
    ];

    static $admin_permissions = [
        self::PERMISSION_SUPER_ADMIN,
        self::PERMISSION_MANAGE_SHOP,
        self::PERMISSION_MANAGE_Article,
        self::PERMISSION_MANAGE_ROLE_PERMISSIONS,
        self::PERMISSION_MANAGE_USERS,
        self::PERMISSION_MANAGE_COMMENT,
        self::PERMISSION_MANAGE_PAGE,
        self::PERMISSION_MANAGE_NEWSLETTER,
        self::PERMISSION_MANAGE_MENU,
        self::PERMISSION_MANAGE_TAG,
        self::PERMISSION_MANAGE_CATEGORY,
        self::PERMISSION_MANAGE_ATTRIBUTE,
        self::PERMISSION_SHOW_MANAGER,
        self::PERMISSION_PRODUCT_MANAGER,
    ];



}
