Add restrictions tto views