Restrict a directory of actions.