RController::filterRights PHP Method

filterRights() public method

This filter is a wrapper of {@link CAccessControlFilter}.
public filterRights ( CFilterChain $filterChain )
$filterChain CFilterChain the filter chain that the filter is on.
    public function filterRights($filterChain)
    {
        $filter = new RightsFilter();
        $filter->allowedActions = $this->allowedActions();
        $filter->filter($filterChain);
    }