applied canable permissions to views.