Rewrite of the authentication and authorization system
This commit is contained in:
@@ -20,7 +20,7 @@ class Analytic extends Base
|
||||
*/
|
||||
private function layout($template, array $params)
|
||||
{
|
||||
$params['board_selector'] = $this->projectPermission->getAllowedProjects($this->userSession->getId());
|
||||
$params['board_selector'] = $this->projectUserRole->getProjectsByUser($this->userSession->getId());
|
||||
$params['content_for_sublayout'] = $this->template->render($template, $params);
|
||||
|
||||
return $this->template->layout('analytic/layout', $params);
|
||||
@@ -132,6 +132,9 @@ class Analytic extends Base
|
||||
* Common method for CFD and Burdown chart
|
||||
*
|
||||
* @access private
|
||||
* @param string $template
|
||||
* @param string $column
|
||||
* @param string $title
|
||||
*/
|
||||
private function commonAggregateMetrics($template, $column, $title)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user