Commit 4a7d6463 authored by François Agneray's avatar François Agneray

Re-generate doctrine proxies files

parent 72b7d701
Pipeline #3714 failed with stages
in 34 seconds
...@@ -6,7 +6,7 @@ stages: ...@@ -6,7 +6,7 @@ stages:
- deploy - deploy
variables: variables:
VERSION: "3.3" VERSION: "3.5"
SONARQUBE_URL: https://sonarqube.lam.fr SONARQUBE_URL: https://sonarqube.lam.fr
CONTAINER_IMAGE: portus.lam.fr/anis/anis-server CONTAINER_IMAGE: portus.lam.fr/anis/anis-server
......
...@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. ...@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.5.0]
### Added
- #7: Protected routes with SSO JWT
- #58: Add datasets privileges
## [3.4.0] ## [3.4.0]
### Added ### Added
- #56: Added config attribute to Instance entity - #56: Added config attribute to Instance entity
......
...@@ -232,6 +232,17 @@ class DatasetFamily extends \App\Entity\DatasetFamily implements \Doctrine\ORM\P ...@@ -232,6 +232,17 @@ class DatasetFamily extends \App\Entity\DatasetFamily implements \Doctrine\ORM\P
return parent::setDisplay($display); return parent::setDisplay($display);
} }
/**
* {@inheritDoc}
*/
public function getInstance()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInstance', []);
return parent::getInstance();
}
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
......
...@@ -64,10 +64,10 @@ class Group extends \App\Entity\Group implements \Doctrine\ORM\Proxy\Proxy ...@@ -64,10 +64,10 @@ class Group extends \App\Entity\Group implements \Doctrine\ORM\Proxy\Proxy
public function __sleep() public function __sleep()
{ {
if ($this->__isInitialized__) { if ($this->__isInitialized__) {
return ['__isInitialized__', 'id', 'label', 'datasets']; return ['__isInitialized__', 'id', 'role', 'instance', 'datasets'];
} }
return ['__isInitialized__', 'id', 'label', 'datasets']; return ['__isInitialized__', 'id', 'role', 'instance', 'datasets'];
} }
/** /**
...@@ -191,23 +191,34 @@ class Group extends \App\Entity\Group implements \Doctrine\ORM\Proxy\Proxy ...@@ -191,23 +191,34 @@ class Group extends \App\Entity\Group implements \Doctrine\ORM\Proxy\Proxy
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public function getLabel() public function getRole()
{ {
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getLabel', []); $this->__initializer__ && $this->__initializer__->__invoke($this, 'getRole', []);
return parent::getLabel(); return parent::getRole();
} }
/** /**
* {@inheritDoc} * {@inheritDoc}
*/ */
public function setLabel($label) public function setRole($role)
{ {
$this->__initializer__ && $this->__initializer__->__invoke($this, 'setLabel', [$label]); $this->__initializer__ && $this->__initializer__->__invoke($this, 'setRole', [$role]);
return parent::setLabel($label); return parent::setRole($role);
}
/**
* {@inheritDoc}
*/
public function getInstance()
{
$this->__initializer__ && $this->__initializer__->__invoke($this, 'getInstance', []);
return parent::getInstance();
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment