You are here

public function CartResourceBase::permissions in Commerce Cart API 8

We do not return specific resource permissions, as we respect the existing cart management and ownership logic.

Overrides ResourceBase::permissions

See also

::getBaseRouteRequirements()

File

src/Plugin/rest/resource/CartResourceBase.php, line 77

Class

CartResourceBase
Abstract base class for cart resoruces.

Namespace

Drupal\commerce_cart_api\Plugin\rest\resource

Code

public function permissions() {
  return [];
}