mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Change translation for the group of voter rights
This commit is contained in:
parent
02b150b0a5
commit
422b6b99eb
@ -251,3 +251,5 @@ CHILL_JOB_REPORT_NEW: Création et modification des rapports emploi
|
||||
CHILL_JOB_REPORT_DELETE: Suppression des rapports emploi
|
||||
CHILL_JOB_REPORT_CV: Création et modification des rapports emploi (CV uniquement)
|
||||
CHILL_JOB_EXPORTS: Exports emploi
|
||||
|
||||
JobBundle: Emploi
|
||||
|
@ -89,7 +89,7 @@ class ExportsJobVoter extends AbstractChillVoter implements ProvideRoleHierarchy
|
||||
*/
|
||||
public function getRolesWithHierarchy(): array
|
||||
{
|
||||
return ['Job' => $this->getRoles()];
|
||||
return ['JobBundle' => $this->getRoles()];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -110,7 +110,7 @@ class JobVoter extends AbstractChillVoter implements ProvideRoleHierarchyInterfa
|
||||
|
||||
public function getRolesWithHierarchy(): array
|
||||
{
|
||||
return ['Job' => $this->getRoles()];
|
||||
return ['JobBundle' => $this->getRoles()];
|
||||
}
|
||||
|
||||
public function getRolesWithoutScope(): array
|
||||
|
Loading…
x
Reference in New Issue
Block a user