Permission for rails library