fixed permission assignation in redirect view