You are here

public function ChainGroupPermissionCalculatorInterface::calculateAuthenticatedPermissions in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Access/ChainGroupPermissionCalculatorInterface.php \Drupal\group\Access\ChainGroupPermissionCalculatorInterface::calculateAuthenticatedPermissions()

Calculates the full group permissions for an authenticated account.

This includes both outsider and member permissions.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user account for which to retrieve the permissions.

Return value

\Drupal\group\Access\CalculatedGroupPermissionsInterface An object representing the full authenticated group permissions.

1 method overrides ChainGroupPermissionCalculatorInterface::calculateAuthenticatedPermissions()
ChainGroupPermissionCalculator::calculateAuthenticatedPermissions in src/Access/ChainGroupPermissionCalculator.php
Calculates the full group permissions for an authenticated account.

File

src/Access/ChainGroupPermissionCalculatorInterface.php, line 44

Class

ChainGroupPermissionCalculatorInterface
Runs the added calculators one by one until the full permissions are built.

Namespace

Drupal\group\Access

Code

public function calculateAuthenticatedPermissions(AccountInterface $account);