package keycloak

const (
	PatronymicAttr = "patronymic"

	PermissionLevelCanEdit      = "can_edit"
	PermissionLevelCanView      = "can_view"
	PermissionLevelNoPermission = "no_permission"

	UserGroupAgents      = "agents"
	UserGroupDistributor = "distributors"

	UserAgentType       = 0
	UserDistributorType = 1

	PermissionBalance     = "balance"
	PermissionCompany     = "company"
	PermissionEmployees   = "employees"
	PermissionProfile     = "profile"
	PermissionSubmissions = "submissions"
	PermissionVacancies   = "vacancies"
)

var (
	permissionsSlice = []string{
		PermissionBalance,
		PermissionCompany,
		PermissionEmployees,
		PermissionProfile,
		PermissionSubmissions,
		PermissionVacancies,
	}
)

type (
	attributes  map[string][]string
	permissions map[string]string
)
