from idm.api.frontend.rolerequest import RoleRequestResource as FrontendRoleRequestResource

from idm.api.v1.base import RequesterMixin
from idm.api.v1.role import V1RoleResource


class RoleRequestResource(RequesterMixin, FrontendRoleRequestResource):
    """
    Ресурс запросов на получение ролей пользователями
    """
    public_roles_only = False

    role_resource_class = V1RoleResource
