Adding permission filter by rile