protected function sectionRbac()
	{
		if (Yii::$app->authManager === null) return ['Status'=>'not configured'];
		$am = Yii::$app->authManager;

		//get roles and permission
		$roles = [];
		$perms = [];
		foreach ($am->roles as $role) $roles[] = $this->valueCode($role->name);
		foreach ($am->permissions as $perm) $perms[] = $this->valueCode($perm->name);

		//rbac cache config
		if ($am->cache === null) {
			$cacheConfig = Yii::$app->formatter->nullDisplay;
		} else {
			$cacheConfig = $this->valueModal('RBAC cache config', $this->valueVarDump($am->cache), 'Show');
		}

		return [
			'Auth manager'=>$this->valueCode($am->className()) . $this->valueModal($am->className(), $this->valueVarDump($am), 'Show config'),
			'Roles'=>implode(', ', $roles),
			'Permissions'=>implode(', ', $perms),
			'RBAC cache enabled'=>$this->valueBool($am->cache !== null),
			'RBAC cache config'=>$cacheConfig,
		];
	}