def _check_permission(self, request):
        """ Check user permissions.

        :raises: Forbidden, if user doesn't have access to the resource.
        """

        if self.access_controller:
            self.access_controller.check_perm(request, self)
Check user permissions.

        :raises: Forbidden, if user doesn't have access to the resource.