Add permission check for base resources in views